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

    pub struct U28;

A type level dimension.

## Trait Implementations

### `impl IsNotStaticOne for U28`[src]

### `impl Dim for U28`[src]

#### `fn try_to_usize() -> Option<usize>`[src]

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

#### `fn from_usize(dim: usize) -> Self`[src]

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

#### `fn value(&self) -> usize`[src]

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

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

### `impl DimName for U28`[src]

#### `type Value = U28`

#### `fn name() -> Self`[src]

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

#### `fn dim() -> usize`[src]

The value of this dimension.

### `impl Eq for U28`[src]

### `impl Clone for U28`[src]

#### `fn clone(&self) -> U28`[src]

Returns a copy of the value. Read more

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

Performs copy-assignment from `source`. Read more

### `impl PartialEq<U28> for U28`[src]

#### `fn eq(&self, other: &U28) -> bool`[src]

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

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

This method tests for `!=`.

### `impl Copy for U28`[src]

### `impl Hash for U28`[src]

#### `fn hash<__H: Hasher>(&self, state: &mut __H)`[src]

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

#### `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 Debug for U28`[src]

#### `fn fmt(&self, f: &mut Formatter) -> Result`[src]

Formats the value using the given formatter. Read more

## Auto Trait Implementations

### `impl Send for U28`

### `impl Unpin for U28`

### `impl Sync for U28`

### `impl UnwindSafe for U28`

### `impl RefUnwindSafe for U28`

## Blanket Implementations

### `impl<D1, D2> DimAdd<D2> 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`

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

### `impl<D> DimAdd<Dynamic> for D where
D: DimName,` [src]

#### `type Output = Dynamic`

#### `fn add(Self, Dynamic) -> Dynamic`[src]

### `impl<D1, D2> DimNameAdd<D2> 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`

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

### `impl<D1, D2> DimMul<D2> 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`

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

### `impl<D> DimMul<Dynamic> for D where
D: DimName,` [src]

#### `type Output = Dynamic`

#### `fn mul(Self, Dynamic) -> Dynamic`[src]

### `impl<D1, D2> DimNameMul<D2> 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`

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

### `impl<D1, D2> DimSub<D2> 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`

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

### `impl<D> DimSub<Dynamic> for D where
D: DimName,` [src]

#### `type Output = Dynamic`

#### `fn sub(Self, Dynamic) -> Dynamic`[src]

### `impl<D1, D2> DimNameSub<D2> 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`

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

### `impl<D1, D2> DimDiv<D2> 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`

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

### `impl<D> DimDiv<Dynamic> for D where
D: DimName,` [src]

#### `type Output = Dynamic`

#### `fn div(Self, Dynamic) -> Dynamic`[src]

### `impl<D1, D2> DimNameDiv<D2> 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`

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

### `impl<D1, D2> DimMin<D2> 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`

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

### `impl<D> DimMin<Dynamic> for D where
D: DimName,` [src]

#### `type Output = Dynamic`

#### `fn min(Self, Dynamic) -> Dynamic`[src]

### `impl<D1, D2> DimNameMin<D2> 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`

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

### `impl<D1, D2> DimMax<D2> 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`

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

### `impl<D> DimMax<Dynamic> for D where
D: DimName,` [src]

#### `type Output = Dynamic`

#### `fn max(Self, Dynamic) -> Dynamic`[src]

### `impl<D1, D2> DimNameMax<D2> 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`

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

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

#### `type Owned = T`

The resulting type after obtaining ownership.

#### `fn to_owned(&self) -> T`[src]

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

#### `fn clone_into(&self, target: &mut T)`[src]

🔬 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> Into<U> for T where
U: From<T>,` [src]

#### `fn into(self) -> U`[src]

Performs the conversion.

### `impl<T> From<T> for T`[src]

#### `fn from(t: T) -> T`[src]

Performs the conversion.

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

#### `type Error = Infallible`

The type returned in the event of a conversion error.

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

Performs the conversion.

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

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

The type returned in the event of a conversion error.

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

Performs the conversion.

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

#### `fn borrow_mut(&mut self) -> &mut T`[src]

Mutably borrows from an owned value. Read more

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

#### `fn borrow(&self) -> &T`[src]

Immutably borrows from an owned value. Read more

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

#### `fn type_id(&self) -> TypeId`[src]

Gets the `TypeId` of `self`. Read more

### `impl<T> Same<T> for T`[src]

#### `type Output = T`

Should always be `Self`

### `impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,` [src]

#### `fn to_subset(&self) -> Option<SS>`[src]

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

#### `fn is_in_subset(&self) -> bool`[src]

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

#### `unsafe fn to_subset_unchecked(&self) -> SS`[src]

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

#### `fn from_subset(element: &SS) -> SP`[src]

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

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g., `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g., `vec -> usize` or `* -> vec`)

Search multiple things at once by splitting your query with comma (e.g., `str,u8` or `String,struct:Vec,test`)