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

Trait Implementations

impl<S: Debug> Debug for SamplerPrimitive<S> where
    S: BaseNum, 
[src]

Formats the value using the given formatter. Read more

impl<S: Clone> Clone for SamplerPrimitive<S> where
    S: BaseNum, 
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<S: Copy> Copy for SamplerPrimitive<S> where
    S: BaseNum, 
[src]

impl<S> From<[S; 2]> for SamplerPrimitive<S> where
    S: BaseNum, 
[src]

Performs the conversion.

impl<S> From<[S; 3]> for SamplerPrimitive<S> where
    S: BaseNum, 
[src]

Performs the conversion.

impl<S> From<[S; 4]> for SamplerPrimitive<S> where
    S: BaseNum, 
[src]

Performs the conversion.

impl<S> InterpolationPrimitive for SamplerPrimitive<S> where
    S: BaseNum, 
[src]

Auto Trait Implementations

impl<S> Send for SamplerPrimitive<S> where
    S: Send

impl<S> Sync for SamplerPrimitive<S> where
    S: Sync