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]

[src]

Returns x axis if the num is even. Returns y axis if the num is odd.

[src]

Returns the other axis.

Trait Implementations

impl Copy for Axis
[src]

impl Clone for Axis
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Axis
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Axis
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.