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) -> Vec2
[src]
Trait Implementations
impl Changes for Map
[src]
impl Changes for Map
[src]fn has_changed(&self) -> bool
[src]
fn reset_changed(&mut self)
[src]
impl Component for Map
[src]
impl Component for Map
[src]type Storage = AutoChanged<ChangeDenseOneToNVec<Map>, Map>
type MutStorageCacheGuard = ()
fn type_name() -> &'static str
[src]
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]fn debug<S: Serializer>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
[src]
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
impl<'de> Deserialize<'de> for Map
[src]
impl<'de> Deserialize<'de> for Map
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl OneToNComponent for Map
[src]
impl OneToNComponent for Map
[src]fn slice_type_name() -> &'static str
[src]
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,