Struct beagle::consts::One [] [src]

pub struct One;

Trait Implementations

impl IsLargerThan<Zero> for One
[src]

impl NotSame<Zero> for One
[src]

impl DecrementIfLargerThan<Zero> for One
[src]

impl HasSmaller for One
[src]

impl IsSmallerThan<Two> for One
[src]

Index an array of size C safely.

impl NotSame<Two> for One
[src]

impl DecrementIfLargerThan<Two> for One
[src]

impl IsSmallerThan<Three> for One
[src]

Index an array of size C safely.

impl NotSame<Three> for One
[src]

impl DecrementIfLargerThan<Three> for One
[src]

impl IsSmallerThan<Four> for One
[src]

Index an array of size C safely.

impl NotSame<Four> for One
[src]

impl DecrementIfLargerThan<Four> for One
[src]

impl HasLarger for One
[src]

impl Clone for One
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for One
[src]

impl Debug for One
[src]

Formats the value using the given formatter.

impl Default for One
[src]

Returns the "default value" for a type. Read more

impl PartialEq for One
[src]

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

This method tests for !=.

impl PartialOrd for One
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for One
[src]

This method returns an Ordering between self and other. Read more

impl Eq for One
[src]

impl Hash for One
[src]

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

Feeds a slice of this type into the given [Hasher]. Read more

impl Constant for One
[src]

VALUE: usize = 1

impl<T> Array<T> for One
[src]

A raw array of the size equal to the dimension this type represents.

A custom array of the size equal to the dimension this type represents.

Construct an array from a single value v, replicating it to all positions in the array.

Apply f to all the elements of the array

Apply f to all elements of two arrays.

Fold all the elements of the array with function f

Fold all the elements of two arrays with function f

Map all the elements of the array with function f

Map all the elements into two arrays with function f

Map all the elements of two arrays with function f

Map all the elements of three arrays with function f

Transpose the elements of a 2d array

A helper to transpose the elements of a 2d array (recursion)

impl<T> ArrayRef<T> for One
[src]

impl<T> ArrayMut<T> for One
[src]

impl<T> Dim<T> for One
[src]

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.

impl ExtractItem<Zero> for One
[src]

impl<T> DimRef<T> for One
[src]

impl<T> DimMut<T> for One
[src]

impl<T, D: Dim<T>> TwoDim<T, D> for One where
    D::Smaller: Array<T>, 
[src]

impl<T, D: DimRef<T>> TwoDimRef<T, D> for One where
    D::Smaller: Array<T> + Array<&'a T>, 
[src]

impl<T, D: DimMut<T>> TwoDimMut<T, D> for One where
    D::Smaller: Array<T> + Array<&'a T> + Array<&'a mut T>, 
[src]

impl<I0: Constant, I1: Constant> SelectTwo<I0, I1> for One
[src]

impl<I0: Constant, I1: Constant, I2: Constant> SelectThree<I0, I1, I2> for One
[src]

impl<I0: Constant, I1: Constant, I2: Constant, I3: Constant> SelectFour<I0, I1, I2, I3> for One
[src]