pub struct __FormComponent<T>where
T: From<FormExport> + 'static,{
pub form_data: Rc<FormData>,
pub on_submit: Rc<dyn Fn(FormExport)>,
pub params: FormParams<T>,
pub f: AttrGroup,
pub s: AttrGroup,
}Fields§
§form_data: Rc<FormData>§on_submit: Rc<dyn Fn(FormExport)>§params: FormParams<T>§f: AttrGroup§s: AttrGroupImplementations§
Source§impl<T> __FormComponent<T>where
T: From<FormExport> + 'static,
impl<T> __FormComponent<T>where
T: From<FormExport> + 'static,
pub fn group_f_push(self, key: String, value: AttrGroupValue) -> Self
pub fn group_s_push(self, key: String, value: AttrGroupValue) -> Self
pub fn mount(self) -> DomNode
Auto Trait Implementations§
impl<T> Freeze for __FormComponent<T>
impl<T> !RefUnwindSafe for __FormComponent<T>
impl<T> !Send for __FormComponent<T>
impl<T> !Sync for __FormComponent<T>
impl<T> Unpin for __FormComponent<T>
impl<T> !UnwindSafe for __FormComponent<T>
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> 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