Struct axgeom::Axis
[−]
[src]
#[must_use]pub struct Axis(_);
An Axis has a value of either X or Y. It is used to look up values in 2d containers.
Methods
impl Axis
[src]
fn from_num_even_xaxis(num: usize) -> Axis
[src]
Returns x axis if the num is even. Returns y axis if the num is odd.
fn next(&self) -> Axis
[src]
Returns the other axis.
Trait Implementations
impl Copy for Axis
[src]
impl Clone for Axis
[src]
fn clone(&self) -> Axis
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more