Struct layout2d::ui_screen::UiScreen [] [src]

pub struct UiScreen<T: Copy + Clone> {
    pub root: NodeRef<Rect<T>>,
}

UI screen

Fields

Root node of the UI tree

Methods

impl<T: Copy + Clone> UiScreen<T>
[src]

Creates a new UiScreen

Changes the default orientation for the root element from row to column

Converts the UI into a vertex buffer

Trait Implementations

impl<T: Debug + Copy + Clone> Debug for UiScreen<T>
[src]

Formats the value using the given formatter.