Struct leptos_form_tool::Form
source · pub struct Form<FD: FormToolData> {
pub fd: RwSignal<FD>,
/* private fields */
}Expand description
A constructed, rendered form object.
With this, you can render the form, get the form data, or get a validator for the data.
Fields§
§fd: RwSignal<FD>The form data signal.
Implementations§
source§impl<FD: FormToolData> Form<FD>
impl<FD: FormToolData> Form<FD>
sourcepub fn validator(&self) -> FormValidator<FD>
pub fn validator(&self) -> FormValidator<FD>
Gets the FormValidator for this form.
Trait Implementations§
Auto Trait Implementations§
impl<FD> Freeze for Form<FD>
impl<FD> !RefUnwindSafe for Form<FD>
impl<FD> !Send for Form<FD>
impl<FD> !Sync for Form<FD>
impl<FD> Unpin for Form<FD>where
FD: Unpin,
impl<FD> !UnwindSafe for Form<FD>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more