pub struct Text { /* fields omitted */ }
A simple, static text label
Construct a new, empty instance
Get the toolkit data associated with this widget
Set the toolkit data associated with this widget Read more
Get the widget's region, relative to its parent.
Get mutable access to the widget's region
Get the number of child widgets
Get a reference to a child widget by index, or None
if the index is out of bounds. Read more
Type of message returned by this handler. Read more
Handle a high-level event directed at the widget identified by number
, and return a user-defined msg. Read more
Performs copy-assignment from source
. Read more
Returns the "default value" for a type. Read more
Formats the value using the given formatter. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more