# [−][src]Struct na::base::dimension::U1

A type level dimension with a value of `1`

.

## Trait Implementations

`impl Copy for U1`

[src]

`impl Clone for U1`

[src]

`fn clone(&self) -> U1`

[src]

`default fn clone_from(&mut self, source: &Self)`

1.0.0[src]

Performs copy-assignment from `source`

. Read more

`impl PartialEq<U1> for U1`

[src]

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

[src]

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

1.0.0[src]

#[must_use]

default fn ne(&self, other: &Rhs) -> boolThis method tests for `!=`

.

`impl<'a, N, R, CStride> ContiguousStorageMut<N, R, U1> for SliceStorageMut<'a, N, R, U1, U1, CStride> where`

CStride: Dim,

N: Scalar,

R: Dim,

[src]

CStride: Dim,

N: Scalar,

R: Dim,

`impl Dim for U1`

[src]

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

[src]

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

[src]

`fn value(&self) -> usize`

[src]

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

D: Dim,

[src]

D: Dim,

`impl Debug for U1`

[src]

`impl Hash for U1`

[src]

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

__H: Hasher,

[src]

__H: Hasher,

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

H: Hasher,

1.3.0[src]

H: Hasher,

Feeds a slice of this type into the given [`Hasher`

]. Read more

`impl DimName for U1`

[src]

`type Value = UInt<UTerm, B1>`

`fn name() -> U1`

[src]

`default fn dim() -> usize`

[src]

The value of this dimension.

`impl Eq for U1`

[src]

`impl<'a, N, R, CStride> ContiguousStorage<N, R, U1> for SliceStorage<'a, N, R, U1, U1, CStride> where`

CStride: Dim,

N: Scalar,

R: Dim,

[src]

CStride: Dim,

N: Scalar,

R: Dim,

`impl<'a, N, R, CStride> ContiguousStorage<N, R, U1> for SliceStorageMut<'a, N, R, U1, U1, CStride> where`

CStride: Dim,

N: Scalar,

R: Dim,

[src]

CStride: Dim,

N: Scalar,

R: Dim,

## Auto Trait Implementations

## Blanket Implementations

`impl<V> IntoVec for V`

[src]

`impl<V> IntoPnt for V`

[src]

`impl<T> IntoPnt for T where`

T: Scalar,

[src]

T: Scalar,

`impl<T> IntoPnt for T where`

T: Scalar,

[src]

T: Scalar,

`impl<T> IntoPnt for T where`

T: Scalar,

[src]

T: Scalar,

`impl<T> ToOwned for T where`

T: Clone,

[src]

T: Clone,

`impl<T> From for T`

[src]

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

U: From<T>,

[src]

U: From<T>,

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

U: Into<T>,

[src]

U: Into<T>,

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

`impl<T> Borrow for T where`

T: ?Sized,

[src]

T: ?Sized,

`impl<T> Any for T where`

T: 'static + ?Sized,

[src]

T: 'static + ?Sized,

`impl<T> BorrowMut for T where`

T: ?Sized,

[src]

T: ?Sized,

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

[src]

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

U: TryFrom<T>,

[src]

U: TryFrom<T>,

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

`impl<T> Scalar for T where`

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

[src]

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]

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]

`impl<D> DimAdd for D where`

D: DimName,

[src]

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]

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]

`impl<D> DimMul for D where`

D: DimName,

[src]

D: DimName,

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

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]

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

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]

`impl<D> DimSub for D where`

D: DimName,

[src]

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]

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]

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

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]

`impl<D> DimDiv for D where`

D: DimName,

[src]

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]

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]

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

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]

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

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]

`impl<D> DimMin for D where`

D: DimName,

[src]

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]

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]

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

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]

`impl<D> DimMax for D where`

D: DimName,

[src]

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]

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]

`impl<T> Same for T`

`type Output = T`

Should always be `Self`

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

SS: SubsetOf<SP>,

[src]

SS: SubsetOf<SP>,