Struct rin::scene::light::shadow::Map [−][src]
pub struct Map { /* fields omitted */ }
Implementations
impl Map
[src]
impl Map
[src]pub fn new(parameters: Parameters) -> Map
[src]
pub fn new_with_update_frequency(
parameters: Parameters,
update_frequency: usize
) -> Map
[src]
parameters: Parameters,
update_frequency: usize
) -> Map
pub fn parameters(&self) -> &Parameters
[src]
pub fn set_parameters(&mut self, params: Parameters)
[src]
pub fn update_frequency(&self) -> usize
[src]
pub fn set_update_frequency(&mut self, update_frequency: usize)
[src]
pub fn update(&mut self)
[src]
pub fn needs_update(&self) -> bool
[src]
Methods from Deref<Target = Parameters>
pub fn frustum_size(
&self
) -> Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>
[src]
&self
) -> Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>
Trait Implementations
impl Changes for Map
[src]
impl Changes for Map
[src]pub fn has_changed(&self) -> bool
[src]
pub fn reset_changed(&mut self)
[src]
impl Component for Map
[src]
impl Component for Map
[src]type Storage = AutoChanged<_DenseOneToNVec<Map, GroupChanged>, Map>
type MutStorageCacheGuard = ()
pub fn type_name() -> &'static str
[src]
pub fn is_reference() -> bool
[src]
pub fn id() -> TypeId
[src]
pub fn references_other(
) -> Option<Box<dyn Fn(&Storages, &Entity) + 'static, Global>>
[src]
) -> Option<Box<dyn Fn(&Storages, &Entity) + 'static, Global>>
impl<'a> DebugParameter for Map
[src]
impl<'a> DebugParameter for Map
[src]pub fn debug<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
[src]
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
impl Deref for Map
[src]
impl Deref for Map
[src]type Target = Parameters
The resulting type after dereferencing.
pub fn deref(&self) -> &Parameters
[src]
impl<'de> Deserialize<'de> for Map
[src]
impl<'de> Deserialize<'de> for Map
[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Map, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<Map, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl OneToNComponent for Map
[src]
impl OneToNComponent for Map
[src]pub fn slice_type_name() -> &'static str
[src]
impl Serialize for Map
[src]
impl Serialize for Map
[src]pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl Copy for Map
[src]
Auto Trait Implementations
impl RefUnwindSafe for Map
impl Send for Map
impl Sync for Map
impl Unpin for Map
impl UnwindSafe for Map
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]pub fn erased_serialize(
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
[src]
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<C> ComponentSend for C where
C: Component + Send,
[src]
C: Component + Send,
impl<C> ComponentThreadLocal for C where
C: Component,
[src]
C: Component,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> Slottable for T where
T: Copy,
[src]
T: Copy,