Struct rui::Text

source · []
pub struct Text { /* private fields */ }
Expand description

Struct for text.

Implementations

Trait Implementations

Prints a description of the view for debugging.

Draws the view using vger.

Lays out subviews and return the size of the view.

Returns the topmost view which the point intersects.

Builds an AccessKit tree. The node ID for the subtree is returned. All generated nodes are accumulated.

Returns the type ID of the underlying view.

Processes an event.

Determines dirty regions which need repainting.

Accumulates information about menu bar commands.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.