Enum cursive::direction::Absolute [] [src]

pub enum Absolute {
    Left,
    Up,
    Right,
    Down,
    None,
}

Absolute direction (up, down, left, right).

Variants

Left

Up

Right

Down

No real direction.

Used when the "direction" is accross layers for instance.

Methods

impl Absolute
[src]

[src]

Returns the relative direction for the given orientation.

Returns None when the direction does not apply to the given orientation (ex: Left and Vertical).

Trait Implementations

impl Debug for Absolute
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Absolute
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Absolute
[src]

impl PartialEq for Absolute
[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 !=.

Auto Trait Implementations

impl Send for Absolute

impl Sync for Absolute