Trait syntax::codemap::PosExperimental [-]  [+] [src]

pub trait Pos {
    fn from_uint(n: uint) -> Self;
    fn to_uint(&self) -> uint;
}

Required Methods

fn from_uint(n: uint) -> Self

fn to_uint(&self) -> uint

Implementors