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

A type level dimension.

## Trait Implementations

`impl IsNotStaticOne for U2`

[src]

`impl IsNotStaticOne for U2`

`impl Dim for U2`

[src]

`impl Dim for U2`

`fn try_to_usize() -> Option<usize>`

[src]

`fn try_to_usize() -> Option<usize>`

`fn from_usize(dim: usize) -> Self`

[src]

`fn from_usize(dim: usize) -> Self`

`fn value(&self) -> usize`

[src]

`fn value(&self) -> usize`

`fn is<D: Dim>() -> bool`

[src]

`fn is<D: Dim>() -> bool`

`impl DimName for U2`

[src]

`impl DimName for U2`

`impl PartialEq<U2> for U2`

[src]

`impl PartialEq<U2> for U2`

`fn eq(&self, other: &U2) -> bool`

[src]

`fn eq(&self, other: &U2) -> bool`

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

1.0.0[src]

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

1.0.0

[src]This method tests for `!=`

.

`impl Clone for U2`

[src]

`impl Clone for U2`

`fn clone(&self) -> U2`

[src]

`fn clone(&self) -> U2`

`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 Copy for U2`

[src]

`impl Copy for U2`

`impl Eq for U2`

[src]

`impl Eq for U2`

`impl Debug for U2`

[src]

`impl Debug for U2`

`impl Hash for U2`

[src]

`impl Hash for U2`

## Auto Trait Implementations

## 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]

`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,

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

`fn add(Self, D2) -> <D1 as DimAdd<D2>>::Output`

[src]

`fn add(Self, D2) -> <D1 as DimAdd<D2>>::Output`

`impl<D> DimAdd for D where`

D: DimName,

[src]

`impl<D> DimAdd for D where`

D: DimName,

`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<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,

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

`fn add(Self, D2) -> <D1 as DimNameAdd<D2>>::Output`

[src]

`fn add(Self, D2) -> <D1 as DimNameAdd<D2>>::Output`

`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> 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,

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

`fn mul(Self, D2) -> <D1 as DimMul<D2>>::Output`

[src]

`fn mul(Self, D2) -> <D1 as DimMul<D2>>::Output`

`impl<D> DimMul for D where`

D: DimName,

[src]

`impl<D> DimMul for D where`

D: DimName,

`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> 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,

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

`fn mul(Self, D2) -> <D1 as DimNameMul<D2>>::Output`

[src]

`fn mul(Self, D2) -> <D1 as DimNameMul<D2>>::Output`

`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<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,

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

`fn sub(Self, D2) -> <D1 as DimSub<D2>>::Output`

[src]

`fn sub(Self, D2) -> <D1 as DimSub<D2>>::Output`

`impl<D> DimSub for D where`

D: DimName,

[src]

`impl<D> DimSub for D where`

D: DimName,

`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> 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,

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

`fn sub(Self, D2) -> <D1 as DimNameSub<D2>>::Output`

[src]

`fn sub(Self, D2) -> <D1 as DimNameSub<D2>>::Output`

`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<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,

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

`fn div(Self, D2) -> <D1 as DimDiv<D2>>::Output`

[src]

`fn div(Self, D2) -> <D1 as DimDiv<D2>>::Output`

`impl<D> DimDiv for D where`

D: DimName,

[src]

`impl<D> DimDiv for D where`

D: DimName,

`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> 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,

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

`fn div(Self, D2) -> <D1 as DimNameDiv<D2>>::Output`

[src]

`fn div(Self, D2) -> <D1 as DimNameDiv<D2>>::Output`

`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<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,

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

`fn min(Self, D2) -> <D1 as DimMin<D2>>::Output`

[src]

`fn min(Self, D2) -> <D1 as DimMin<D2>>::Output`

`impl<D> DimMin for D where`

D: DimName,

[src]

`impl<D> DimMin for D where`

D: DimName,

`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<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,

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

`fn min(Self, D2) -> <D1 as DimNameMin<D2>>::Output`

[src]

`fn min(Self, D2) -> <D1 as DimNameMin<D2>>::Output`

`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> 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,

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

`fn max(Self, D2) -> <D1 as DimMax<D2>>::Output`

[src]

`fn max(Self, D2) -> <D1 as DimMax<D2>>::Output`

`impl<D> DimMax for D where`

D: DimName,

[src]

`impl<D> DimMax for D where`

D: DimName,

`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<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,

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

`fn max(Self, D2) -> <D1 as DimNameMax<D2>>::Output`

[src]

`fn max(Self, D2) -> <D1 as DimNameMax<D2>>::Output`

`impl<T> From for T`

[src]

`impl<T> From for T`

`impl<T, U> Into for T where`

U: From<T>,

[src]

`impl<T, U> Into for T where`

U: From<T>,

`impl<T> ToOwned for T where`

T: Clone,

[src]

`impl<T> ToOwned for T where`

T: Clone,

`impl<T, U> TryFrom for T where`

T: From<U>,

[src]

`impl<T, U> TryFrom for T where`

T: From<U>,

`type Error = !`

🔬 This is a nightly-only experimental API. (

`try_from`

)The type returned in the event of a conversion error.

`fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>`

[src]

`fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>`

`impl<T> Borrow for T where`

T: ?Sized,

[src]

`impl<T> Borrow for T where`

T: ?Sized,

`impl<T> BorrowMut for T where`

T: ?Sized,

[src]

`impl<T> BorrowMut for T where`

T: ?Sized,

`fn borrow_mut(&mut self) -> &mut T`

[src]

`fn borrow_mut(&mut self) -> &mut T`

`impl<T, U> TryInto for T where`

U: TryFrom<T>,

[src]

`impl<T, U> TryInto for T where`

U: TryFrom<T>,

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

🔬 This is a nightly-only experimental API. (

`try_from`

)The type returned in the event of a conversion error.

`fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>`

[src]

`fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>`

`impl<T> Any for T where`

T: 'static + ?Sized,

[src]

`impl<T> Any for T where`

T: 'static + ?Sized,

`fn get_type_id(&self) -> TypeId`

[src]

`fn get_type_id(&self) -> TypeId`

`impl<T> Same for T`

[src]

`impl<T> Same for T`

`type Output = T`

Should always be `Self`

`impl<SS, SP> SupersetOf for SP where`

SS: SubsetOf<SP>,

[src]

`impl<SS, SP> SupersetOf for SP where`

SS: SubsetOf<SP>,

`fn to_subset(&self) -> Option<SS>`

[src]

`fn to_subset(&self) -> Option<SS>`

`fn is_in_subset(&self) -> bool`

[src]

`fn is_in_subset(&self) -> bool`

`unsafe fn to_subset_unchecked(&self) -> SS`

[src]

`unsafe fn to_subset_unchecked(&self) -> SS`

`fn from_subset(element: &SS) -> SP`

[src]

`fn from_subset(element: &SS) -> SP`