Trait rustc_ap_rustc_span::Pos[][src]

pub trait Pos {
    fn from_usize(n: usize) -> Self;
fn to_usize(&self) -> usize;
fn from_u32(n: u32) -> Self;
fn to_u32(&self) -> u32; }

Required methods

fn from_usize(n: usize) -> Self[src]

fn to_usize(&self) -> usize[src]

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

fn to_u32(&self) -> u32[src]

Implementors