Trait OptionalCodeLocation

Source
pub trait OptionalCodeLocation {
    // Required method
    fn loc_opt(&self) -> Option<Loc>;
}
Expand description

Structs should implement this trait to return an optional location

Required Methods§

Source

fn loc_opt(&self) -> Option<Loc>

Implementors§