Enum conrod::graph::depth_order::Visitable [] [src]

pub enum Visitable {
    Widget(NodeIndex),
    Scrollbar(NodeIndex),
}

Parts of the graph that are significant when visiting and sorting by depth.

The reason a widget and its scrollbar are separate here is because a widget's scrollbar may sometimes appear on top of the widget's children.

Variants

Widget(NodeIndex)

The index of some widget in the graph.

Scrollbar(NodeIndex)

The scrollbar for the widget at the given NodeIndex.

Trait Implementations

impl Eq for Visitable
[src]

impl PartialEq for Visitable
[src]

fn eq(&self, __arg_0: &Visitable) -> bool

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

fn ne(&self, __arg_0: &Visitable) -> bool

This method tests for !=.

impl Debug for Visitable
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Visitable
[src]

fn clone(&self) -> Visitable

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

impl Copy for Visitable
[src]