pub struct Fields<F: Form>(/* private fields */);
Expand description
Provides FieldsBuilder constructors
Implementations§
source§impl<F: Form> Fields<F>
impl<F: Form> Fields<F>
sourcepub fn unit() -> FieldsBuilder<F, NoFields>
pub fn unit() -> FieldsBuilder<F, NoFields>
The type construct has no fields
sourcepub fn named() -> FieldsBuilder<F, NamedFields>
pub fn named() -> FieldsBuilder<F, NamedFields>
Fields for a type construct with named fields
sourcepub fn unnamed() -> FieldsBuilder<F, UnnamedFields>
pub fn unnamed() -> FieldsBuilder<F, UnnamedFields>
Fields for a type construct with unnamed fields
Auto Trait Implementations§
impl<F> Freeze for Fields<F>
impl<F> RefUnwindSafe for Fields<F>
impl<F> Send for Fields<F>
impl<F> Sync for Fields<F>
impl<F> Unpin for Fields<F>
impl<F> UnwindSafe for Fields<F>
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