Struct xswag_base::code::Loc [] [src]

pub struct Loc {
    pub line: LineIdx,
    pub col: ColIdx,
}

Location within one file specified by line and column.

Fields

line
col

Trait Implementations

Derived Implementations

impl Debug for Loc

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

impl Eq for Loc

impl PartialEq for Loc

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

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

impl Copy for Loc

impl Clone for Loc

fn clone(&self) -> Loc

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