Struct tuix_internal::state::entity::Entity [−][src]
pub struct Entity(_);
Implementations
Creates a null entity
A null entity can be used as a placeholder within a widget struct but cannot be used to get/set properties
Creates a root entity
The root entity represents the main window and is alwys valid. The root entity can be used to set properties on the window, such as background color, as well as sending events to the window such as Restyle and Redraw events.
Returns the generation of the entity
Trait Implementations
type IntoIter = BranchIterator<'a>
type IntoIter = ChildIterator<'a>
type IntoIter = ParentIterator<'a>
type IntoIter = TreeIterator<'a>
A type representing an external store in case the position and size data is not be owned by the node itself (e.g. ECS)
Get the layout type of the node Read more
Get the position type of the node Read more
Get the desired space to the left of the node in units
Get the desired min_left of the node in units
Get the desired min_left of the node in units
Get the desired space to the right of the node in units
Get the desired min_left of the node in units
Get the desired min_left of the node in units
Get the desired space above the node in units
Get the desired min_left of the node in units
Get the desired min_left of the node in units
Get the desired space below the node in units
Get the desired min_left of the node in units
Get the desired min_left of the node in units
Get the desired width of the node in units
Get the desired min_width of the node in units
Get the desired max_width of the node in units
Get the desired height of the node in units
Get the desired min_height of the node in units
Get the desired max_height of the node in units
Get the desired space to the left of all child nodes in units Read more
Get the desired space to the right of all child nodes in units Read more
Get the desired space above all child nodes in units Read more
Get the desired space below all child nodes in units Read more
Get the desired grid columns as a vector of units
Get the desired grid rows as a vector of units
Get the desired space between children in units when stacked in a column
Get the desired space between children in units when stacked in a row
Get the desired row_index of the node in units
Get the desired col_index of the node in units
Auto Trait Implementations
impl RefUnwindSafe for Entity
impl UnwindSafe for Entity
Blanket Implementations
Mutably borrows from an owned value. Read more