[][src]Struct nalgebra_glm::U3

pub struct U3;

A type level dimension.

Trait Implementations

impl Debug for U3
[src]

Formats the value using the given formatter. Read more

impl Dim for U3
[src]

Gets the compile-time value of Self. Returns None if it is not known, i.e., if Self = Dynamic. Read more

Builds an instance of Self from a run-time value. Panics if Self is a type-level integer and dim != Self::try_to_usize().unwrap(). Read more

Gets the run-time value of self. For type-level integers, this is the same as Self::try_to_usize().unwrap(). Read more

impl IsNotStaticOne for U3
[src]

impl Eq for U3
[src]

impl DimName for U3
[src]

The name of this dimension, i.e., the singleton Self.

The value of this dimension.

impl Hash for U3
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Copy for U3
[src]

impl PartialEq<U3> for U3
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Serialize for U3
[src]

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for U3
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Clone for U3
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for U3

impl Sync for U3

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T> ToOwned for T where
    T: Clone
[src]

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more

Checks if self is actually part of its subset T (and can be converted to it).

Use with care! Same as self.to_subset but without any property checks. Always succeeds.

The inclusion map: converts self to the equivalent element of its superset.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Scalar for T where
    T: Copy + PartialEq<T> + Any + Debug
[src]

Tests if Self the same as the type T Read more

impl<D> DimAdd for D where
    D: DimName
[src]

impl<D1, D2> DimAdd for D1 where
    D1: DimName,
    D2: DimName,
    <D1 as DimName>::Value: Add<<D2 as DimName>::Value>,
    <<D1 as DimName>::Value as Add<<D2 as DimName>::Value>>::Output: NamedDim
[src]

impl<D1, D2> DimNameAdd for D1 where
    D1: DimName,
    D2: DimName,
    <D1 as DimName>::Value: Add<<D2 as DimName>::Value>,
    <<D1 as DimName>::Value as Add<<D2 as DimName>::Value>>::Output: NamedDim
[src]

impl<D> DimMul for D where
    D: DimName
[src]

impl<D1, D2> DimMul for D1 where
    D1: DimName,
    D2: DimName,
    <D1 as DimName>::Value: Mul<<D2 as DimName>::Value>,
    <<D1 as DimName>::Value as Mul<<D2 as DimName>::Value>>::Output: NamedDim
[src]

impl<D1, D2> DimNameMul for D1 where
    D1: DimName,
    D2: DimName,
    <D1 as DimName>::Value: Mul<<D2 as DimName>::Value>,
    <<D1 as DimName>::Value as Mul<<D2 as DimName>::Value>>::Output: NamedDim
[src]

impl<D1, D2> DimSub for D1 where
    D1: DimName,
    D2: DimName,
    <D1 as DimName>::Value: Sub<<D2 as DimName>::Value>,
    <<D1 as DimName>::Value as Sub<<D2 as DimName>::Value>>::Output: NamedDim
[src]

impl<D> DimSub for D where
    D: DimName
[src]

impl<D1, D2> DimNameSub for D1 where
    D1: DimName,
    D2: DimName,
    <D1 as DimName>::Value: Sub<<D2 as DimName>::Value>,
    <<D1 as DimName>::Value as Sub<<D2 as DimName>::Value>>::Output: NamedDim
[src]

impl<D1, D2> DimDiv for D1 where
    D1: DimName,
    D2: DimName,
    <D1 as DimName>::Value: Div<<D2 as DimName>::Value>,
    <<D1 as DimName>::Value as Div<<D2 as DimName>::Value>>::Output: NamedDim
[src]

impl<D> DimDiv for D where
    D: DimName
[src]

impl<D1, D2> DimNameDiv for D1 where
    D1: DimName,
    D2: DimName,
    <D1 as DimName>::Value: Div<<D2 as DimName>::Value>,
    <<D1 as DimName>::Value as Div<<D2 as DimName>::Value>>::Output: NamedDim
[src]

impl<D1, D2> DimMin for D1 where
    D1: DimName,
    D2: DimName,
    <D1 as DimName>::Value: Min<<D2 as DimName>::Value>,
    <<D1 as DimName>::Value as Min<<D2 as DimName>::Value>>::Output: NamedDim
[src]

impl<D> DimMin for D where
    D: DimName
[src]

impl<D1, D2> DimNameMin for D1 where
    D1: DimName,
    D2: DimName,
    <D1 as DimName>::Value: Min<<D2 as DimName>::Value>,
    <<D1 as DimName>::Value as Min<<D2 as DimName>::Value>>::Output: NamedDim
[src]

impl<D> DimMax for D where
    D: DimName
[src]

impl<D1, D2> DimMax for D1 where
    D1: DimName,
    D2: DimName,
    <D1 as DimName>::Value: Max<<D2 as DimName>::Value>,
    <<D1 as DimName>::Value as Max<<D2 as DimName>::Value>>::Output: NamedDim
[src]

impl<D1, D2> DimNameMax for D1 where
    D1: DimName,
    D2: DimName,
    <D1 as DimName>::Value: Max<<D2 as DimName>::Value>,
    <<D1 as DimName>::Value as Max<<D2 as DimName>::Value>>::Output: NamedDim
[src]

impl<T> Same for T

Should always be Self