Enum cursive_core::direction::Absolute
source ·
[−]pub enum Absolute {
Left,
Up,
Right,
Down,
None,
}
Expand description
Absolute direction (up, down, left, right).
Variants
Left
Left
Up
Up
Right
Right
Down
Down
None
No real direction.
Used when the “direction” is accross layers for instance.
Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Absolute
impl UnwindSafe for Absolute
Blanket Implementations
Mutably borrows from an owned value. Read more