Enum cognitive_qualia::enums::Direction
[−]
[src]
pub enum Direction { None, North, East, South, West, Backward, Forward, Begin, End, Up, Workspace, }
Enum representing directions on screen, in time and between frames.
Variants
None
Dummy; point nowhere.
North
North; up; above.
East
East; right.
South
South; down; below.
West
West; left.
Backward
Back in time; most recently used.
Forward
Forward in time; the oldest used.
Begin
Begin; start; head.
End
End; finish; tail.
Up
Trunk; parent; up in frame hierarchy.
Workspace
Workspace.
Methods
impl Direction
[src]
fn reversed(self) -> Self
Reverse the direction.
fn is_planar(self) -> bool
Returns true
if direction in planar, false
otherwise.
Trait Implementations
impl Clone for Direction
[src]
fn clone(&self) -> Direction
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more