[][src]Enum regalloc::BlockIx

pub enum BlockIx {
    BlockIx(u32),
}

Variants

BlockIx(u32)

Implementations

impl BlockIx[src]

pub fn new(n: u32) -> Self[src]

pub const fn max_value() -> Self[src]

pub const fn min_value() -> Self[src]

pub const fn invalid_value() -> Self[src]

pub fn is_valid(self) -> bool[src]

pub fn is_invalid(self) -> bool[src]

pub fn get(self) -> u32[src]

pub fn plus(self, delta: u32) -> BlockIx[src]

pub fn minus(self, delta: u32) -> BlockIx[src]

pub fn dotdot(&self, last_plus1: BlockIx) -> Range<BlockIx>[src]

Trait Implementations

impl Clone for BlockIx[src]

impl Copy for BlockIx[src]

impl Debug for BlockIx[src]

impl Eq for BlockIx[src]

impl Hash for BlockIx[src]

impl Into<u32> for BlockIx[src]

impl Ord for BlockIx[src]

impl PartialEq<BlockIx> for BlockIx[src]

impl PartialOrd<BlockIx> for BlockIx[src]

impl StructuralEq for BlockIx[src]

impl StructuralPartialEq for BlockIx[src]

Auto Trait Implementations

impl RefUnwindSafe for BlockIx

impl Send for BlockIx

impl Sync for BlockIx

impl Unpin for BlockIx

impl UnwindSafe for BlockIx

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.