Struct generic_arrayvec::typenum::consts::B0 [−]
pub struct B0;
The type-level bit 0.
Methods
impl B0
impl B0Trait Implementations
impl Bit for B0
impl Bit for B0impl Hash for B0
impl Hash for B0fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher, Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl PartialOrd<B0> for B0
impl PartialOrd<B0> for B0fn partial_cmp(&self, other: &B0) -> Option<Ordering>
fn partial_cmp(&self, other: &B0) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
fn lt(&self, other: &Rhs) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &Rhs) -> bool1.0.0[src]
fn le(&self, other: &Rhs) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
fn gt(&self, other: &Rhs) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
fn ge(&self, other: &Rhs) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl BitAnd<B0> for B1
impl BitAnd<B0> for B1And with 1 ( 1 & 0 = 0)
type Output = B0
The resulting type after applying the & operator.
fn bitand(self, B0) -> <B1 as BitAnd<B0>>::Output
fn bitand(self, B0) -> <B1 as BitAnd<B0>>::OutputPerforms the & operation.
impl<Rhs> BitAnd<Rhs> for B0 where
Rhs: Bit,
impl<Rhs> BitAnd<Rhs> for B0 where
Rhs: Bit, And with 0 ( 0 & B = 0)
type Output = B0
The resulting type after applying the & operator.
fn bitand(self, Rhs) -> <B0 as BitAnd<Rhs>>::Output
fn bitand(self, Rhs) -> <B0 as BitAnd<Rhs>>::OutputPerforms the & operation.
impl Default for B0
impl Default for B0impl Max<B0> for B1
impl Max<B0> for B1type Output = B1
The type of the maximum of Self and Rhs
fn max(self, B0) -> B1
fn max(self, B0) -> B1Method returning the maximum
impl Max<B1> for B0
impl Max<B1> for B0type Output = B1
The type of the maximum of Self and Rhs
fn max(self, rhs: B1) -> B1
fn max(self, rhs: B1) -> B1Method returning the maximum
impl Max<B0> for B0
impl Max<B0> for B0type Output = B0
The type of the maximum of Self and Rhs
fn max(self, B0) -> B0
fn max(self, B0) -> B0Method returning the maximum
impl Min<B0> for B0
impl Min<B0> for B0type Output = B0
The type of the minimum of Self and Rhs
fn min(self, B0) -> B0
fn min(self, B0) -> B0Method returning the minimum
impl Min<B1> for B0
impl Min<B1> for B0type Output = B0
The type of the minimum of Self and Rhs
fn min(self, B1) -> B0
fn min(self, B1) -> B0Method returning the minimum
impl Min<B0> for B1
impl Min<B0> for B1type Output = B0
The type of the minimum of Self and Rhs
fn min(self, rhs: B0) -> B0
fn min(self, rhs: B0) -> B0Method returning the minimum
impl<U, B> Shl<B0> for UInt<U, B> where
B: Bit,
U: Unsigned,
impl<U, B> Shl<B0> for UInt<U, B> where
B: Bit,
U: Unsigned, Shifting left any unsigned by a zero bit: U << B0 = U
type Output = UInt<U, B>
The resulting type after applying the << operator.
fn shl(self, B0) -> <UInt<U, B> as Shl<B0>>::Output
fn shl(self, B0) -> <UInt<U, B> as Shl<B0>>::OutputPerforms the << operation.
impl Shl<B0> for UTerm
impl Shl<B0> for UTermShifting UTerm by a 0 bit: UTerm << B0 = UTerm
type Output = UTerm
The resulting type after applying the << operator.
fn shl(self, B0) -> <UTerm as Shl<B0>>::Output
fn shl(self, B0) -> <UTerm as Shl<B0>>::OutputPerforms the << operation.
impl Ord for B0
impl Ord for B0fn cmp(&self, other: &B0) -> Ordering
fn cmp(&self, other: &B0) -> OrderingThis method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl<U, B> Mul<B0> for UInt<U, B> where
B: Bit,
U: Unsigned,
impl<U, B> Mul<B0> for UInt<U, B> where
B: Bit,
U: Unsigned, UInt * B0 = UTerm
type Output = UTerm
The resulting type after applying the * operator.
fn mul(self, B0) -> <UInt<U, B> as Mul<B0>>::Output
fn mul(self, B0) -> <UInt<U, B> as Mul<B0>>::OutputPerforms the * operation.
impl Mul<B0> for UTerm
impl Mul<B0> for UTermUTerm * B0 = UTerm
type Output = UTerm
The resulting type after applying the * operator.
fn mul(self, B0) -> <UTerm as Mul<B0>>::Output
fn mul(self, B0) -> <UTerm as Mul<B0>>::OutputPerforms the * operation.
impl Debug for B0
impl Debug for B0fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl<U, B> Shr<B0> for UInt<U, B> where
B: Bit,
U: Unsigned,
impl<U, B> Shr<B0> for UInt<U, B> where
B: Bit,
U: Unsigned, Shifting right any unsigned by a zero bit: U >> B0 = U
type Output = UInt<U, B>
The resulting type after applying the >> operator.
fn shr(self, B0) -> <UInt<U, B> as Shr<B0>>::Output
fn shr(self, B0) -> <UInt<U, B> as Shr<B0>>::OutputPerforms the >> operation.
impl Shr<B0> for UTerm
impl Shr<B0> for UTermShifting right UTerm by a 0 bit: UTerm >> B0 = UTerm
type Output = UTerm
The resulting type after applying the >> operator.
fn shr(self, B0) -> <UTerm as Shr<B0>>::Output
fn shr(self, B0) -> <UTerm as Shr<B0>>::OutputPerforms the >> operation.
impl Clone for B0
impl Clone for B0fn clone(&self) -> B0
fn clone(&self) -> B0Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Sub<B0> for UTerm
impl Sub<B0> for UTermUTerm - B0 = Term
type Output = UTerm
The resulting type after applying the - operator.
fn sub(self, B0) -> <UTerm as Sub<B0>>::Output
fn sub(self, B0) -> <UTerm as Sub<B0>>::OutputPerforms the - operation.
impl<U, B> Sub<B0> for UInt<U, B> where
B: Bit,
U: Unsigned,
impl<U, B> Sub<B0> for UInt<U, B> where
B: Bit,
U: Unsigned, UInt - B0 = UInt
type Output = UInt<U, B>
The resulting type after applying the - operator.
fn sub(self, B0) -> <UInt<U, B> as Sub<B0>>::Output
fn sub(self, B0) -> <UInt<U, B> as Sub<B0>>::OutputPerforms the - operation.
impl Not for B0
impl Not for B0Not of 0 (!0 = 1)
type Output = B1
The resulting type after applying the ! operator.
fn not(self) -> <B0 as Not>::Output
fn not(self) -> <B0 as Not>::OutputPerforms the unary ! operation.
impl PartialEq<B0> for B0
impl PartialEq<B0> for B0fn eq(&self, other: &B0) -> bool
fn eq(&self, other: &B0) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl Cmp<B0> for B1
impl Cmp<B0> for B1type Output = Greater
The result of the comparison. It should only ever be one of Greater, Less, or Equal.
impl Cmp<B0> for B0
impl Cmp<B0> for B0type Output = Equal
The result of the comparison. It should only ever be one of Greater, Less, or Equal.
impl Cmp<B1> for B0
impl Cmp<B1> for B0type Output = Less
The result of the comparison. It should only ever be one of Greater, Less, or Equal.
impl Eq for B0
impl Eq for B0impl Copy for B0
impl Copy for B0impl BitXor<B0> for B1
impl BitXor<B0> for B1Xor between 1 and 0 ( 1 ^ 0 = 1)
type Output = B1
The resulting type after applying the ^ operator.
fn bitxor(self, B0) -> <B1 as BitXor<B0>>::Output
fn bitxor(self, B0) -> <B1 as BitXor<B0>>::OutputPerforms the ^ operation.
impl BitXor<B1> for B0
impl BitXor<B1> for B0Xor between 0 and 1 ( 0 ^ 1 = 1)
type Output = B1
The resulting type after applying the ^ operator.
fn bitxor(self, B1) -> <B0 as BitXor<B1>>::Output
fn bitxor(self, B1) -> <B0 as BitXor<B1>>::OutputPerforms the ^ operation.
impl BitXor<B0> for B0
impl BitXor<B0> for B0Xor between 0 and 0 ( 0 ^ 0 = 0)
type Output = B0
The resulting type after applying the ^ operator.
fn bitxor(self, B0) -> <B0 as BitXor<B0>>::Output
fn bitxor(self, B0) -> <B0 as BitXor<B0>>::OutputPerforms the ^ operation.
impl BitOr<B1> for B0
impl BitOr<B1> for B0Or with 0 ( 0 | 1 = 1)
type Output = B1
The resulting type after applying the | operator.
fn bitor(self, B1) -> <B0 as BitOr<B1>>::Output
fn bitor(self, B1) -> <B0 as BitOr<B1>>::OutputPerforms the | operation.
impl BitOr<B0> for B0
impl BitOr<B0> for B0Or with 0 ( 0 | 0 = 0)
type Output = B0
The resulting type after applying the | operator.
fn bitor(self, B0) -> <B0 as BitOr<B0>>::Output
fn bitor(self, B0) -> <B0 as BitOr<B0>>::OutputPerforms the | operation.
impl<U, B> Add<B0> for UInt<U, B> where
B: Bit,
U: Unsigned,
impl<U, B> Add<B0> for UInt<U, B> where
B: Bit,
U: Unsigned, U + B0 = U
type Output = UInt<U, B>
The resulting type after applying the + operator.
fn add(self, B0) -> <UInt<U, B> as Add<B0>>::Output
fn add(self, B0) -> <UInt<U, B> as Add<B0>>::OutputPerforms the + operation.
impl Add<B0> for UTerm
impl Add<B0> for UTermUTerm + B0 = UTerm