[][src]Struct pow_of_2::Two

pub struct Two;

Unitary representation of 2, for PowOf2 arithmetic.

Trait Implementations

impl Clone for Two[src]

impl Copy for Two[src]

impl Debug for Two[src]

impl Display for Two[src]

impl<T: UInt> Div<Two> for PowOf2<T>[src]

type Output = PowOf2<T>

The resulting type after applying the / operator.

impl<T: UInt> DivAssign<Two> for PowOf2<T>[src]

impl Eq for Two[src]

impl Hash for Two[src]

impl<T: UInt> Mul<Two> for PowOf2<T>[src]

type Output = PowOf2<T>

The resulting type after applying the * operator.

impl<T: UInt> MulAssign<Two> for PowOf2<T>[src]

impl Ord for Two[src]

impl PartialEq<Two> for Two[src]

impl PartialOrd<Two> for Two[src]

impl StructuralEq for Two[src]

impl StructuralPartialEq for Two[src]

Auto Trait Implementations

impl Send for Two

impl Sync for Two

impl Unpin for Two

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.