Struct oxygengine_user_interface::widget::unit::text::TextBoxNode [−][src]
pub struct TextBoxNode {
pub id: WidgetId,
pub props: Props,
pub text: String,
pub width: TextBoxSizeValue,
pub height: TextBoxSizeValue,
pub horizontal_align: TextBoxHorizontalAlign,
pub vertical_align: TextBoxVerticalAlign,
pub direction: TextBoxDirection,
pub font: TextBoxFont,
pub color: Color,
pub transform: Transform,
}
Fields
id: WidgetId
props: Props
text: String
width: TextBoxSizeValue
height: TextBoxSizeValue
horizontal_align: TextBoxHorizontalAlign
vertical_align: TextBoxVerticalAlign
direction: TextBoxDirection
font: TextBoxFont
color: Color
transform: Transform
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for TextBoxNode
impl Send for TextBoxNode
impl Sync for TextBoxNode
impl Unpin for TextBoxNode
impl !UnwindSafe for TextBoxNode
Blanket Implementations
Mutably borrows from an owned value. Read more