Type Alias Bitmask

Source
pub type Bitmask<A> = Mask<Bit, A>;
Expand description

An address bit-mask.

Aliased Type§

pub struct Bitmask<A>(/* private fields */);

Trait Implementations§

Source§

impl<A: Afi, T: Type> BitOr<Mask<T, A>> for Bitmask<A>

Source§

type Output = Mask<Bit, A>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: Mask<T, A>) -> Self

Performs the | operation. Read more
Source§

impl<A: Afi, T: Type> BitXor<Mask<T, A>> for Bitmask<A>

Source§

type Output = Mask<Bit, A>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: Mask<T, A>) -> Self

Performs the ^ operation. Read more
Source§

impl<A: Afi> From<Address<A>> for Bitmask<A>

Source§

fn from(addr: Address<A>) -> Self

Converts to this type from the input type.
Source§

impl<A: Afi> Not for Bitmask<A>

Source§

type Output = Mask<Bit, A>

The resulting type after applying the ! operator.
Source§

fn not(self) -> Self

Performs the unary ! operation. Read more
Source§

impl<A: Afi> Bitmask for Bitmask<A>