Struct steamy_controller::Axis [] [src]

pub struct Axis {
    pub x: i16,
    pub y: i16,
}

Axis on the pad.

Fields

The X axis.

The Y axis.

Methods

impl Axis
[src]

Trait Implementations

impl Clone for Axis
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Axis
[src]

impl PartialEq for Axis
[src]

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

This method tests for !=.

impl Eq for Axis
[src]

impl Default for Axis
[src]

Returns the "default value" for a type. Read more

impl Debug for Axis
[src]

Formats the value using the given formatter.