pub struct FilledFieldBuilder { /* private fields */ }Expand description
Builder for FilledField.
Implementations§
Source§impl FilledFieldBuilder
impl FilledFieldBuilder
Sourcepub fn html_type<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn html_type<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
The type of the field, e.g text, password etc.
Sourcepub fn autofill_type<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn autofill_type<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
The actual field type, e.g FAMILY_NAME
Sourcepub fn filling_strategy<VALUE: Into<FillingStrategy>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn filling_strategy<VALUE: Into<FillingStrategy>>( &mut self, value: VALUE, ) -> &mut Self
The filling strategy
Sourcepub fn frame_id<VALUE: Into<FrameId>>(&mut self, value: VALUE) -> &mut Self
pub fn frame_id<VALUE: Into<FrameId>>(&mut self, value: VALUE) -> &mut Self
The frame the field belongs to
Sourcepub fn field_id<VALUE: Into<BackendNodeId>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn field_id<VALUE: Into<BackendNodeId>>( &mut self, value: VALUE, ) -> &mut Self
The form field’s DOM node
Sourcepub fn build(&self) -> Result<FilledField, FilledFieldBuilderError>
pub fn build(&self) -> Result<FilledField, FilledFieldBuilderError>
Trait Implementations§
Source§impl Clone for FilledFieldBuilder
impl Clone for FilledFieldBuilder
Source§fn clone(&self) -> FilledFieldBuilder
fn clone(&self) -> FilledFieldBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FilledFieldBuilder
impl RefUnwindSafe for FilledFieldBuilder
impl Send for FilledFieldBuilder
impl Sync for FilledFieldBuilder
impl Unpin for FilledFieldBuilder
impl UnsafeUnpin for FilledFieldBuilder
impl UnwindSafe for FilledFieldBuilder
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