[][src]Trait v9::id::Raw

pub trait Raw: 'static + Copy + Debug + Ord + Send + Sync + Hash + Serialize + DeserializeOwned + Add<Output = Self> + Sub<Output = Self> {
    const ZERO: Self;
    const LAST: Self;

    fn to_usize(self) -> usize;
fn from_usize(x: usize) -> Self;
fn offset(self, d: i8) -> Self; }

Associated Constants

const ZERO: Self

const LAST: Self

Loading content...

Required methods

fn to_usize(self) -> usize

fn from_usize(x: usize) -> Self

fn offset(self, d: i8) -> Self

Loading content...

Implementations on Foreign Types

impl Raw for u8[src]

impl Raw for u16[src]

impl Raw for u32[src]

impl Raw for u64[src]

Loading content...

Implementors

Loading content...