pub struct DefineDynamicText {
Show 24 fields pub id: u16, pub bounds: Rect, pub word_wrap: bool, pub multiline: bool, pub password: bool, pub readonly: bool, pub auto_size: bool, pub no_select: bool, pub border: bool, pub was_static: bool, pub html: bool, pub use_glyph_font: bool, pub font_id: Option<u16>, pub font_class: Option<String>, pub font_size: Option<u16>, pub color: Option<StraightSRgba8>, pub max_length: Option<usize>, pub align: Option<TextAlignment>, pub margin_left: u16, pub margin_right: u16, pub indent: u16, pub leading: i16, pub variable_name: Option<String>, pub text: Option<String>,
}

Fields§

§id: u16§bounds: Rect§word_wrap: bool§multiline: bool§password: bool§readonly: bool§auto_size: bool§no_select: bool§border: bool§was_static: bool§html: bool§use_glyph_font: bool§font_id: Option<u16>§font_class: Option<String>§font_size: Option<u16>§color: Option<StraightSRgba8>§max_length: Option<usize>§align: Option<TextAlignment>§margin_left: u16§margin_right: u16§indent: u16§leading: i16§variable_name: Option<String>§text: Option<String>

Trait Implementations§

Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

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.