[−][src]Struct seed_bootstrap::form_group::FormGroup
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]
mut self: Self,
input_event: impl Fn(String) -> Ms + Clone + 'static
) -> Self
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]
mut self: Self,
options: Vec<(String, String)>,
include_none_option: bool
) -> Self
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]
mut self: Self,
invalid_feedback: Option<impl Into<Cow<'a, str>>>
) -> Self
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]
mut self: Self,
warning_feedback: Option<impl Into<Cow<'a, str>>>
) -> Self
pub fn help_text(
mut self: Self,
help_text: impl Into<Cow<'static, str>>
) -> Self
[src]
mut self: Self,
help_text: impl Into<Cow<'static, str>>
) -> Self
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
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,