# [−][src]Struct nalgebra_glm::U2

A type level dimension.

## Trait Implementations

`impl DimName for U2`

[src]

`impl DimName for U2`

`type Value = UInt<UInt<UTerm, B1>, B0>`

`fn name() -> U2`

[src]

`fn name() -> U2`

`fn dim() -> usize`

[src]

`fn dim() -> usize`

The value of this dimension.

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

[src]

`impl Hash for U2`

`fn hash<__H>(&self, state: &mut __H) where`

__H: Hasher,

[src]

`fn hash<__H>(&self, state: &mut __H) where`

__H: Hasher,

`fn hash_slice<H>(data: &[Self], state: &mut H) where`

H: Hasher,

1.3.0[src]

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

[src]

`impl Eq for U2`

`impl Serialize for U2`

[src]

`impl Serialize for U2`

`fn serialize<__S>(`

&self,

__serializer: __S

) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where

__S: Serializer,

[src]

`fn serialize<__S>(`

&self,

__serializer: __S

) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where

__S: Serializer,

`impl<'de> Deserialize<'de> for U2`

[src]

`impl<'de> Deserialize<'de> for U2`

`fn deserialize<__D>(`

__deserializer: __D

) -> Result<U2, <__D as Deserializer<'de>>::Error> where

__D: Deserializer<'de>,

[src]

`fn deserialize<__D>(`

__deserializer: __D

) -> Result<U2, <__D as Deserializer<'de>>::Error> where

__D: Deserializer<'de>,

`impl Copy for U2`

[src]

`impl Copy for U2`

`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 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) -> U2`

[src]

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

`fn value(&self) -> usize`

[src]

`fn value(&self) -> usize`

`fn is<D>() -> bool where`

D: Dim,

[src]

`fn is<D>() -> bool where`

D: Dim,

`impl Debug for U2`

[src]

`impl Debug for U2`

`impl IsNotStaticOne for U2`

[src]

`impl IsNotStaticOne for U2`

## Auto Trait Implementations

## Blanket Implementations

`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> 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, 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> 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<SS, SP> SupersetOf for SP where`

SS: SubsetOf<SP>,

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

SS: SubsetOf<SP>,

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

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

`fn is_in_subset(&self) -> bool`

`fn is_in_subset(&self) -> bool`

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

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

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

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

`impl<T> DeserializeOwned for T where`

T: Deserialize<'de>,

[src]

`impl<T> DeserializeOwned for T where`

T: Deserialize<'de>,

`impl<T> Scalar for T where`

T: Copy + PartialEq<T> + Any + Debug,

[src]

`impl<T> Scalar for T where`

T: Copy + PartialEq<T> + Any + Debug,

`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<D> DimSub for D where`

D: DimName,

[src]

`impl<D> DimSub for D where`

D: DimName,

`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<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<D> DimDiv for D where`

D: DimName,

[src]

`impl<D> DimDiv for D where`

D: DimName,

`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<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> Same for T`

`impl<T> Same for T`

`type Output = T`

Should always be `Self`