[−][src]Struct yew_form::form::Form
Implementations
impl<T: Model> Form<T>
[src]
pub fn new(model: T) -> Form<T>
[src]
pub fn validate(&mut self) -> bool
[src]
pub fn valid(&self) -> bool
[src]
pub fn field_value(&self, field_name: &str) -> &str
[src]
pub fn field_valid(&self, field_name: &str) -> bool
[src]
pub fn field_message(&self, field_name: &str) -> &str
[src]
pub fn set_field_value(&mut self, field_name: &str, field_value: &str)
[src]
pub fn model(&self) -> &T
[src]
pub fn model_mut(&mut self) -> &mut T
[src]
Trait Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for Form<T>
impl<T> !Send for Form<T>
impl<T> !Sync for Form<T>
impl<T> Unpin for Form<T>
impl<T> UnwindSafe for Form<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CloneAny for T where
T: Clone + Any,
T: Clone + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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.
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>,