Struct xswag_base::code::LineIdx [] [src]

pub struct LineIdx(pub SrcOffset);

Represents a line index.

Trait Implementations

impl Display for LineIdx

fn fmt(&self, f: &mut Formatter) -> Result

impl Add for LineIdx

type Output = LineIdx

fn add(self, rhs: LineIdx) -> LineIdx

impl Sub for LineIdx

type Output = LineIdx

fn sub(self, rhs: LineIdx) -> LineIdx

Derived Implementations

impl Default for LineIdx

fn default() -> LineIdx

impl Debug for LineIdx

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Ord for LineIdx

fn cmp(&self, __arg_0: &LineIdx) -> Ordering

impl PartialOrd for LineIdx

fn partial_cmp(&self, __arg_0: &LineIdx) -> Option<Ordering>

fn lt(&self, __arg_0: &LineIdx) -> bool

fn le(&self, __arg_0: &LineIdx) -> bool

fn gt(&self, __arg_0: &LineIdx) -> bool

fn ge(&self, __arg_0: &LineIdx) -> bool

impl Eq for LineIdx

impl PartialEq for LineIdx

fn eq(&self, __arg_0: &LineIdx) -> bool

fn ne(&self, __arg_0: &LineIdx) -> bool

impl Copy for LineIdx

impl Clone for LineIdx

fn clone(&self) -> LineIdx

fn clone_from(&mut self, source: &Self)