Trait beagle::consts::Dim [] [src]

pub trait Dim<T>: Array<T> + HasSmaller where
    Self::Smaller: Array<T>, 
{ fn split(a0: Self::Type) -> (T, <Self::Smaller as Array<T>>::Type); fn split_ref(a0: &Self::Type) -> (&T, &<Self::Smaller as Array<T>>::Type); fn split_ref_end(
        a0: &Self::Type
    ) -> (&<Self::Smaller as Array<T>>::Type, &T); fn split_mut(
        a0: &mut Self::Type
    ) -> (&mut T, &mut <Self::Smaller as Array<T>>::Type); fn split_mut_end(
        a0: &mut Self::Type
    ) -> (&mut <Self::Smaller as Array<T>>::Type, &mut T); fn chain(v: T, end: <Self::Smaller as Array<T>>::Type) -> Self::Type; }

Types that represent a dimension.

Required Methods

Split the array into an element and a smaller array.

Split the array into a reference to an element and a reference to a smaller array.

Split the array into a reference to a smaller array and a reference to an element.

Split the array into a mutable reference to an element and a mutable reference to a smaller array.

Split the array into a mutable reference to a smaller array and a mutable reference to an element.

The opposite of split.

Implementors