Struct fere_resources::surface::EmissiveStatic [−][src]
pub struct EmissiveStatic<T: TypePack> { pub general: General<T>, pub timepoints: [Timepoint<T>; 4], }
Fields
general: General<T>
timepoints: [Timepoint<T>; 4]
Implementations
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for EmissiveStatic<T> where
<T as TypePack>::TexturePointer1: RefUnwindSafe,
<T as TypePack>::TexturePointer3: RefUnwindSafe,
impl<T> Send for EmissiveStatic<T> where
<T as TypePack>::TexturePointer1: Send,
<T as TypePack>::TexturePointer3: Send,
impl<T> Sync for EmissiveStatic<T> where
<T as TypePack>::TexturePointer1: Sync,
<T as TypePack>::TexturePointer3: Sync,
impl<T> Unpin for EmissiveStatic<T> where
<T as TypePack>::TexturePointer1: Unpin,
<T as TypePack>::TexturePointer3: Unpin,
impl<T> UnwindSafe for EmissiveStatic<T> where
<T as TypePack>::TexturePointer1: UnwindSafe,
<T as TypePack>::TexturePointer3: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
pub fn is_in_subset(&self) -> bool
pub fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).
pub fn to_subset_unchecked(&self) -> SS
pub fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
pub fn from_subset(element: &SS) -> SP
pub fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.