pub struct FormFieldBuilder<'a: 'b, 'b, A: Allocator + 'a> { /* private fields */ }Implementations§
Source§impl<'a: 'b, 'b, A: Allocator + 'a> FormFieldBuilder<'a, 'b, A>
impl<'a: 'b, 'b, A: Allocator + 'a> FormFieldBuilder<'a, 'b, A>
pub fn add_name(&mut self, name: WIPOffset<&'b str>)
pub fn add_field_type(&mut self, field_type: FormFieldType)
pub fn add_label(&mut self, label: WIPOffset<&'b str>)
pub fn add_placeholder(&mut self, placeholder: WIPOffset<&'b str>)
pub fn add_description(&mut self, description: WIPOffset<&'b str>)
pub fn add_initial_value(&mut self, initial_value: WIPOffset<&'b str>)
pub fn add_validations( &mut self, validations: WIPOffset<Vector<'b, ForwardsUOffset<ValidationRule<'b>>>>, )
pub fn add_async_validations( &mut self, async_validations: WIPOffset<Vector<'b, ForwardsUOffset<AsyncValidation<'b>>>>, )
pub fn add_options( &mut self, options: WIPOffset<Vector<'b, ForwardsUOffset<SelectOption<'b>>>>, )
pub fn add_visible_when(&mut self, visible_when: WIPOffset<&'b str>)
pub fn add_disabled_when(&mut self, disabled_when: WIPOffset<&'b str>)
pub fn add_autocomplete(&mut self, autocomplete: AutocompleteHint)
pub fn add_accept(&mut self, accept: WIPOffset<&'b str>)
pub fn add_max_file_size(&mut self, max_file_size: u32)
pub fn add_multiple(&mut self, multiple: bool)
pub fn add_step(&mut self, step: f32)
pub fn add_semantic_node_id(&mut self, semantic_node_id: WIPOffset<&'b str>)
pub fn new( _fbb: &'b mut FlatBufferBuilder<'a, A>, ) -> FormFieldBuilder<'a, 'b, A>
pub fn finish(self) -> WIPOffset<FormField<'a>>
Auto Trait Implementations§
impl<'a, 'b, A> Freeze for FormFieldBuilder<'a, 'b, A>
impl<'a, 'b, A> RefUnwindSafe for FormFieldBuilder<'a, 'b, A>where
A: RefUnwindSafe,
impl<'a, 'b, A> Send for FormFieldBuilder<'a, 'b, A>where
A: Send,
impl<'a, 'b, A> Sync for FormFieldBuilder<'a, 'b, A>where
A: Sync,
impl<'a, 'b, A> Unpin for FormFieldBuilder<'a, 'b, A>
impl<'a, 'b, A> UnsafeUnpin for FormFieldBuilder<'a, 'b, A>
impl<'a, 'b, A> !UnwindSafe for FormFieldBuilder<'a, 'b, A>
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