[][src]Struct ybc::FieldProps

pub struct FieldProps {
    pub children: Children,
    pub classes: Option<String>,
    pub label: Option<String>,
    pub label_classes: Option<String>,
    pub help: Option<String>,
    pub help_classes: Option<String>,
    pub icons_left: bool,
    pub icons_right: bool,
    pub addons: bool,
    pub addons_align: Option<AddonsAlign>,
    pub grouped: bool,
    pub grouped_align: Option<GroupedAlign>,
    pub multiline: bool,
}

Fields

children: Childrenclasses: Option<String>label: Option<String>

A text label for the field.

label_classes: Option<String>

Extra classes for the label container.

help: Option<String>

A help message for the field.

help_classes: Option<String>

Extra classes for the help message container.

icons_left: bool

Has icons on the left of the field's controls.

icons_right: bool

Has icons on the right of the field's controls.

addons: bool

Allow addons to the field's controls.

addons_align: Option<AddonsAlign>

Alignment for the field's addons.

grouped: bool

All controls in this field should be grouped.

grouped_align: Option<GroupedAlign>

Alignment for grouped controls.

multiline: bool

Allow the grouped controls to span multiple lines.

Trait Implementations

impl Clone for FieldProps[src]

impl Debug for FieldProps[src]

impl PartialEq<FieldProps> for FieldProps[src]

impl Properties for FieldProps[src]

type Builder = FieldPropsBuilder<FieldPropsBuilderStep_build>

Builder that will be used to construct properties

impl StructuralPartialEq for FieldProps[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

impl<T> CloneAny for T where
    T: Clone + Any

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

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

impl<T, U> NeqAssign<U> for T where
    T: BorrowMut<U>,
    U: PartialEq<U>, 
[src]

impl<T, U> NeqAssignBy<U> for T where
    T: BorrowMut<U>, 
[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.