[][src]Trait rustc_ap_rustc_span::Pos

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

Required methods

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

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

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

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

Loading content...

Implementors

impl Pos for BytePos[src]

impl Pos for CharPos[src]

Loading content...