Enum amethyst_animation::SamplerPrimitive [−][src]
pub enum SamplerPrimitive<S> where
S: BaseNum, { Scalar(S), Vec2([S; 2]), Vec3([S; 3]), Vec4([S; 4]), }
Sampler primitive
Variants
Scalar(S)
Vec2([S; 2])
Vec3([S; 3])
Vec4([S; 4])
Trait Implementations
impl<S: Debug> Debug for SamplerPrimitive<S> where
S: BaseNum,
[src]
impl<S: Debug> Debug for SamplerPrimitive<S> where
S: BaseNum,
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<S: Clone> Clone for SamplerPrimitive<S> where
S: BaseNum,
[src]
impl<S: Clone> Clone for SamplerPrimitive<S> where
S: BaseNum,
fn clone(&self) -> SamplerPrimitive<S>
[src]
fn clone(&self) -> SamplerPrimitive<S>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<S: Copy> Copy for SamplerPrimitive<S> where
S: BaseNum,
[src]
impl<S: Copy> Copy for SamplerPrimitive<S> where
S: BaseNum,
impl<S> From<[S; 2]> for SamplerPrimitive<S> where
S: BaseNum,
[src]
impl<S> From<[S; 2]> for SamplerPrimitive<S> where
S: BaseNum,
impl<S> From<[S; 3]> for SamplerPrimitive<S> where
S: BaseNum,
[src]
impl<S> From<[S; 3]> for SamplerPrimitive<S> where
S: BaseNum,
impl<S> From<[S; 4]> for SamplerPrimitive<S> where
S: BaseNum,
[src]
impl<S> From<[S; 4]> for SamplerPrimitive<S> where
S: BaseNum,
impl<S> InterpolationPrimitive for SamplerPrimitive<S> where
S: BaseNum,
[src]
impl<S> InterpolationPrimitive for SamplerPrimitive<S> where
S: BaseNum,
Auto Trait Implementations
impl<S> Send for SamplerPrimitive<S> where
S: Send,
impl<S> Send for SamplerPrimitive<S> where
S: Send,
impl<S> Sync for SamplerPrimitive<S> where
S: Sync,
impl<S> Sync for SamplerPrimitive<S> where
S: Sync,