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

pub struct U1;

A type level dimension with a value of 1.

Trait Implementations

impl Copy for U1[src]

impl Clone for 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]

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

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

impl Dim for U1[src]

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

impl Debug for U1[src]

impl Hash for U1[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 DimName for U1[src]

type Value = UInt<UTerm, B1>

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 SliceStorageMut<'a, N, R, U1, U1, CStride> where
    CStride: Dim,
    N: Scalar,
    R: Dim
[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]

Auto Trait Implementations

impl Send for U1

impl Sync for U1

Blanket Implementations

impl<V> IntoVec for V[src]

impl<V> IntoPnt for V[src]

impl<T> IntoPnt for T where
    T: Scalar
[src]

impl<T> IntoPnt for T where
    T: Scalar
[src]

impl<T> IntoPnt for T where
    T: Scalar
[src]

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

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

type Owned = T

impl<T> From for 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> 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> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Scalar for T where
    T: Copy + PartialEq<T> + Any + Debug
[src]

default fn is<T>() -> bool where
    T: Scalar
[src]

Tests if Self the same as the type T Read more

impl<D> DimAdd for D where
    D: DimName
[src]

type Output = Dynamic

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

type Output = Dynamic

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]

type Output = Dynamic

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<D> DimDiv for D where
    D: DimName
[src]

type Output = Dynamic

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<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<D> DimMin for D where
    D: DimName
[src]

type Output = Dynamic

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

type Output = Dynamic

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

type Output = T

Should always be Self

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