Struct svgbob::Loc
[−]
[src]
pub struct Loc { /* fields omitted */ }
Methods
impl Loc
[src]
fn top(&self) -> Loc
fn left(&self) -> Loc
fn bottom(&self) -> Loc
fn right(&self) -> Loc
fn top_left(&self) -> Loc
fn top_right(&self) -> Loc
fn bottom_left(&self) -> Loc
fn bottom_right(&self) -> Loc
fn neighbors(&self) -> Vec<Loc>
get the 8 neighbors
Trait Implementations
impl Debug for Loc
[src]
impl Clone for Loc
[src]
fn clone(&self) -> Loc
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more