Enum bismuth::cube::Orientation [] [src]

pub enum Orientation {
    Left,
    Right,
    Top,
    Bottom,
    Front,
    Back,
}

An orientation in the tree space.

This is akin to choosing a face of a cube in a tree and orienting that face based on the axis and direction in which it deforms. For example, Left is a face along the X axis that deforms in the Positive direction.

Variants

Methods

impl Orientation
[src]

[src]

Gets the Axis associated with the Orientation.

[src]

Gets the Direction associated with the Orientation.

Trait Implementations

Auto Trait Implementations

impl Send for Orientation

impl Sync for Orientation