[][src]Struct nalgebra::base::dimension::U2

pub struct U2;

A type level dimension.

Trait Implementations

impl IsNotStaticOne for U2[src]

impl Dim for U2[src]

fn is<D: Dim>() -> bool[src]

impl DimName for U2[src]

type Value = U2

fn dim() -> usize[src]

The value of this dimension.

impl PartialEq<U2> for U2[src]

#[must_use]
default fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Eq for U2[src]

impl Clone for U2[src]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for U2[src]

impl Debug for U2[src]

impl Hash for U2[src]

default fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

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

impl Serialize for U2[src]

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

Auto Trait Implementations

impl Send for U2

impl Sync for U2

Blanket Implementations

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]

type Output = <<<D1 as DimName>::Value as Add<<D2 as DimName>::Value>>::Output as NamedDim>::Name

impl<D> DimAdd for D where
    D: DimName
[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]

type Output = <<<D1 as DimName>::Value as Add<<D2 as DimName>::Value>>::Output as NamedDim>::Name

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]

type Output = <<<D1 as DimName>::Value as Mul<<D2 as DimName>::Value>>::Output as NamedDim>::Name

impl<D> DimMul for D where
    D: DimName
[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]

type Output = <<<D1 as DimName>::Value as Mul<<D2 as DimName>::Value>>::Output as NamedDim>::Name

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]

type Output = <<<D1 as DimName>::Value as Sub<<D2 as DimName>::Value>>::Output as NamedDim>::Name

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]

type Output = <<<D1 as DimName>::Value as Sub<<D2 as DimName>::Value>>::Output as NamedDim>::Name

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]

type Output = <<<D1 as DimName>::Value as Div<<D2 as DimName>::Value>>::Output as NamedDim>::Name

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]

type Output = <<<D1 as DimName>::Value as Div<<D2 as DimName>::Value>>::Output as NamedDim>::Name

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]

type Output = <<<D1 as DimName>::Value as Min<<D2 as DimName>::Value>>::Output as NamedDim>::Name

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]

type Output = <<<D1 as DimName>::Value as Min<<D2 as DimName>::Value>>::Output as NamedDim>::Name

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]

type Output = <<<D1 as DimName>::Value as Max<<D2 as DimName>::Value>>::Output as NamedDim>::Name

impl<D> DimMax for D where
    D: DimName
[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]

type Output = <<<D1 as DimName>::Value as Max<<D2 as DimName>::Value>>::Output as NamedDim>::Name

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

type Owned = T

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

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

impl<T> Same for T

type Output = T

Should always be Self

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