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