Struct finite_fields::binary_static::b2 [] [src]

pub struct b2(_);

A two-digit binary number.

Methods

impl b2
[src]

Trait Implementations

impl Clone for b2
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for b2
[src]

impl PartialEq for b2
[src]

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

This method tests for !=.

impl Display for b2
[src]

Formats the value using the given formatter.

impl<'a> Index<usize> for b2
[src]

The returned type after indexing

The method for the indexing (container[index]) operation

impl IndexMut<usize> for b2
[src]

The method for the mutable indexing (container[index]) operation

impl IntoIterator for b2
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

impl<'a> IntoIterator for &'a b2
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

impl FromIterator<b1> for b2
[src]

Creates a value from an iterator. Read more

impl Add for b2
[src]

Arithmetic addition with overflow error.

The resulting type after applying the + operator

The method for the + operator

impl<'a> Add<b2> for &'a b2
[src]

The resulting type after applying the + operator

The method for the + operator

impl<'a> Add<&'a b2> for &'a b2
[src]

The resulting type after applying the + operator

The method for the + operator

impl Sub for b2
[src]

Wrapping arithmetic subtraction with overflow error.

The resulting type after applying the - operator

The method for the - operator

impl<'a> Sub<b2> for &'a b2
[src]

The resulting type after applying the - operator

The method for the - operator

impl<'a> Sub<&'a b2> for &'a b2
[src]

The resulting type after applying the - operator

The method for the - operator

impl Peano for b2
[src]

This implementation is done "in reverse" of the expected logical order; it uses the Add and Sub impls instead of the converse.

Produces the next integer value in the field of self (i.e., increment).

Peano arithmetic function.

Total ordering function.

impl PartialOrd for b2
[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 BitAnd for b2
[src]

The resulting type after applying the & operator

The method for the & operator

impl<'a> BitAnd<b2> for &'a b2
[src]

The resulting type after applying the & operator

The method for the & operator

impl<'a> BitAnd<&'a b2> for &'a b2
[src]

The resulting type after applying the & operator

The method for the & operator

impl BitOr for b2
[src]

The resulting type after applying the | operator

The method for the | operator

impl<'a> BitOr<b2> for &'a b2
[src]

The resulting type after applying the | operator

The method for the | operator

impl<'a> BitOr<&'a b2> for &'a b2
[src]

The resulting type after applying the | operator

The method for the | operator

impl BitXor for b2
[src]

The resulting type after applying the ^ operator

The method for the ^ operator

impl<'a> BitXor<b2> for &'a b2
[src]

The resulting type after applying the ^ operator

The method for the ^ operator

impl<'a> BitXor<&'a b2> for &'a b2
[src]

The resulting type after applying the ^ operator

The method for the ^ operator

impl Shr<usize> for b2
[src]

The resulting type after applying the >> operator

The method for the >> operator

impl Shl<usize> for b2
[src]

The resulting type after applying the << operator

The method for the << operator

impl Mul for b2
[src]

The resulting type after applying the * operator

The method for the * operator

impl<'a> Mul<b2> for &'a b2
[src]

The resulting type after applying the * operator

The method for the * operator

impl<'a> Mul<&'a b2> for &'a b2
[src]

The resulting type after applying the * operator

The method for the * operator

impl Div<b2> for b2
[src]

Implementation of division as repeated subtraction.

The resulting type after applying the / operator

The method for the / operator

impl<'a> Div<b2> for &'a b2
[src]

The resulting type after applying the / operator

The method for the / operator

impl<'a> Div<&'a b2> for &'a b2
[src]

The resulting type after applying the / operator

The method for the / operator