[][src]Struct seed_bootstrap::form_group::FormGroup

pub struct FormGroup<'a, Ms: 'static> { /* fields omitted */ }

Implementations

impl<'a, Ms> FormGroup<'a, Ms>[src]

pub fn new(id: impl Into<Cow<'a, str>>) -> Self[src]

pub fn label(mut self: Self, label: impl Into<Cow<'a, str>>) -> Self[src]

pub fn value(mut self: Self, value: impl Into<Cow<'a, str>>) -> Self[src]

pub fn on_input(
    mut self: Self,
    input_event: impl Fn(String) -> Ms + Clone + 'static
) -> Self
[src]

pub fn text(mut self: Self) -> Self[src]

pub fn number(mut self: Self) -> Self[src]

pub fn password(mut self: Self) -> Self[src]

pub fn textarea(mut self: Self) -> Self[src]

pub fn checkbox(mut self: Self) -> Self[src]

pub fn select(
    mut self: Self,
    options: Vec<(String, String)>,
    include_none_option: bool
) -> Self
[src]

pub fn invalid(mut self: Self, is_invalid: bool) -> Self[src]

pub fn invalid_feedback(
    mut self: Self,
    invalid_feedback: Option<impl Into<Cow<'a, str>>>
) -> Self
[src]

pub fn warning(mut self: Self, is_warning: bool) -> Self[src]

pub fn warning_feedback(
    mut self: Self,
    warning_feedback: Option<impl Into<Cow<'a, str>>>
) -> Self
[src]

pub fn help_text(
    mut self: Self,
    help_text: impl Into<Cow<'static, str>>
) -> Self
[src]

pub fn help_nodes(mut self: Self, help_nodes: impl IntoNodes<Ms>) -> Self[src]

pub fn group_attrs(mut self: Self, attrs: Attrs) -> Self[src]

pub fn input_attrs(mut self: Self, attrs: Attrs) -> Self[src]

pub fn view(self) -> Node<Ms>[src]

Trait Implementations

impl<Ms> UpdateEl<Ms> for FormGroup<'_, Ms>[src]

Auto Trait Implementations

impl<'a, Ms> !RefUnwindSafe for FormGroup<'a, Ms>[src]

impl<'a, Ms> !Send for FormGroup<'a, Ms>[src]

impl<'a, Ms> !Sync for FormGroup<'a, Ms>[src]

impl<'a, Ms> Unpin for FormGroup<'a, Ms>[src]

impl<'a, Ms> !UnwindSafe for FormGroup<'a, Ms>[src]

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> From<T> for T[src]

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

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,