Enum cognitive_frames::Mode [] [src]

pub enum Mode {
    Root,
    Display {
        id: i32,
    },
    Workspace {
        is_active: bool,
    },
    Container,
    Leaf,
}

Defines mode of the frame.

Variants

Fields of Display

Fields of Workspace

Methods

impl Mode
[src]

Returns true if mode is Display, false otherwise.

Returns true if mode is Workspace, false otherwise.

Returns true if mode is Leaf, false otherwise.

Trait Implementations

impl Clone for Mode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Mode
[src]

impl Debug for Mode
[src]

Formats the value using the given formatter.

impl PartialEq for Mode
[src]

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

This method tests for !=.