Struct raui::prelude::TextBox[][src]

pub struct TextBox {
    pub id: WidgetId,
    pub text: String,
    pub width: TextBoxSizeValue,
    pub height: TextBoxSizeValue,
    pub alignment: TextBoxAlignment,
    pub direction: TextBoxDirection,
    pub font: TextBoxFont,
    pub color: Color,
    pub transform: Transform,
}

Fields

id: WidgetIdtext: Stringwidth: TextBoxSizeValueheight: TextBoxSizeValuealignment: TextBoxAlignmentdirection: TextBoxDirectionfont: TextBoxFontcolor: Colortransform: Transform

Trait Implementations

impl Clone for TextBox[src]

impl Debug for TextBox[src]

impl Default for TextBox[src]

impl<'de> Deserialize<'de> for TextBox[src]

impl Serialize for TextBox[src]

impl TryFrom<TextBoxNode> for TextBox[src]

type Error = ()

The type returned in the event of a conversion error.

impl WidgetUnitData for TextBox[src]

Auto Trait Implementations

impl RefUnwindSafe for TextBox

impl Send for TextBox

impl Sync for TextBox

impl Unpin for TextBox

impl UnwindSafe for TextBox

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.