pub struct KeyboardInputBuilder { /* private fields */ }
Expand description

A builder struct for KeyboardInput

Implementations§

source§

impl KeyboardInputBuilder

source

pub fn build(&mut self) -> KeyboardInput

Finish building the element

source

pub fn data( &mut self, data_key: impl Into<Cow<'static, str>>, value: impl Into<Cow<'static, str>> ) -> &mut KeyboardInputBuilder

Insert a data-* property

source

pub fn abbreviation<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut AbbreviationBuilder) -> &'a mut AbbreviationBuilder,

Append a new Abbreviation element

source

pub fn anchor<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut AnchorBuilder) -> &'a mut AnchorBuilder,

Append a new Anchor element

source

pub fn audio<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut AudioBuilder) -> &'a mut AudioBuilder,

Append a new Audio element

source

pub fn bidirectional_isolate<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut BidirectionalIsolateBuilder) -> &'a mut BidirectionalIsolateBuilder,

Append a new BidirectionalIsolate element

source

pub fn bidirectional_text_override<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut BidirectionalTextOverrideBuilder) -> &'a mut BidirectionalTextOverrideBuilder,

Append a new BidirectionalTextOverride element

source

pub fn bold<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut BoldBuilder) -> &'a mut BoldBuilder,

Append a new Bold element

source

pub fn button<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut ButtonBuilder) -> &'a mut ButtonBuilder,

Append a new Button element

source

pub fn canvas<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut CanvasBuilder) -> &'a mut CanvasBuilder,

Append a new Canvas element

source

pub fn cite<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut CiteBuilder) -> &'a mut CiteBuilder,

Append a new Cite element

source

pub fn code<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut CodeBuilder) -> &'a mut CodeBuilder,

Append a new Code element

source

pub fn data_el<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut DataBuilder) -> &'a mut DataBuilder,

Append a new Data element

source

pub fn data_list<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut DataListBuilder) -> &'a mut DataListBuilder,

Append a new DataList element

source

pub fn definition<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut DefinitionBuilder) -> &'a mut DefinitionBuilder,

Append a new Definition element

source

pub fn deleted_text<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut DeletedTextBuilder) -> &'a mut DeletedTextBuilder,

Append a new DeletedText element

source

pub fn embed<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut EmbedBuilder) -> &'a mut EmbedBuilder,

Append a new Embed element

source

pub fn emphasis<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut EmphasisBuilder) -> &'a mut EmphasisBuilder,

Append a new Emphasis element

source

pub fn iframe<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut IframeBuilder) -> &'a mut IframeBuilder,

Append a new Iframe element

source

pub fn image<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut ImageBuilder) -> &'a mut ImageBuilder,

Append a new Image element

source

pub fn image_map<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut ImageMapBuilder) -> &'a mut ImageMapBuilder,

Append a new ImageMap element

source

pub fn image_map_area<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut ImageMapAreaBuilder) -> &'a mut ImageMapAreaBuilder,

Append a new ImageMapArea element

source

pub fn input<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut InputBuilder) -> &'a mut InputBuilder,

Append a new Input element

source

pub fn inserted_text<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut InsertedTextBuilder) -> &'a mut InsertedTextBuilder,

Append a new InsertedText element

source

pub fn italic<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut ItalicBuilder) -> &'a mut ItalicBuilder,

Append a new Italic element

source

pub fn keyboard_input<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut KeyboardInputBuilder) -> &'a mut KeyboardInputBuilder,

Append a new KeyboardInput element

source

pub fn label<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut LabelBuilder) -> &'a mut LabelBuilder,

Append a new Label element

source

pub fn line_break<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut LineBreakBuilder) -> &'a mut LineBreakBuilder,

Append a new LineBreak element

source

pub fn line_break_opportunity<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut LineBreakOpportunityBuilder) -> &'a mut LineBreakOpportunityBuilder,

Append a new LineBreakOpportunity element

Append a new Link element

source

pub fn mark_text<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut MarkTextBuilder) -> &'a mut MarkTextBuilder,

Append a new MarkText element

source

pub fn meta<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut MetaBuilder) -> &'a mut MetaBuilder,

Append a new Meta element

source

pub fn meter<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut MeterBuilder) -> &'a mut MeterBuilder,

Append a new Meter element

source

pub fn no_script<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut NoScriptBuilder) -> &'a mut NoScriptBuilder,

Append a new NoScript element

source

pub fn object<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut ObjectBuilder) -> &'a mut ObjectBuilder,

Append a new Object element

source

pub fn output<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut OutputBuilder) -> &'a mut OutputBuilder,

Append a new Output element

source

pub fn picture<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut PictureBuilder) -> &'a mut PictureBuilder,

Append a new Picture element

source

pub fn progress<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut ProgressBuilder) -> &'a mut ProgressBuilder,

Append a new Progress element

source

pub fn quotation<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut QuotationBuilder) -> &'a mut QuotationBuilder,

Append a new Quotation element

source

pub fn ruby_annotation<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut RubyAnnotationBuilder) -> &'a mut RubyAnnotationBuilder,

Append a new RubyAnnotation element

source

pub fn sample_output<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut SampleOutputBuilder) -> &'a mut SampleOutputBuilder,

Append a new SampleOutput element

source

pub fn script<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut ScriptBuilder) -> &'a mut ScriptBuilder,

Append a new Script element

source

pub fn select<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut SelectBuilder) -> &'a mut SelectBuilder,

Append a new Select element

source

pub fn side_comment<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut SideCommentBuilder) -> &'a mut SideCommentBuilder,

Append a new SideComment element

source

pub fn slot<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut SlotBuilder) -> &'a mut SlotBuilder,

Append a new Slot element

source

pub fn span<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut SpanBuilder) -> &'a mut SpanBuilder,

Append a new Span element

source

pub fn strike_through<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut StrikeThroughBuilder) -> &'a mut StrikeThroughBuilder,

Append a new StrikeThrough element

source

pub fn strong<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut StrongBuilder) -> &'a mut StrongBuilder,

Append a new Strong element

source

pub fn sub_script<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut SubScriptBuilder) -> &'a mut SubScriptBuilder,

Append a new SubScript element

source

pub fn super_script<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut SuperScriptBuilder) -> &'a mut SuperScriptBuilder,

Append a new SuperScript element

source

pub fn template<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut TemplateBuilder) -> &'a mut TemplateBuilder,

Append a new Template element

source

pub fn text(&mut self, s: impl Into<Cow<'static, str>>) -> &mut Self

Append a new text element.

source

pub fn text_area<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut TextAreaBuilder) -> &'a mut TextAreaBuilder,

Append a new TextArea element

source

pub fn time<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut TimeBuilder) -> &'a mut TimeBuilder,

Append a new Time element

source

pub fn underline<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut UnderlineBuilder) -> &'a mut UnderlineBuilder,

Append a new Underline element

source

pub fn variable<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut VariableBuilder) -> &'a mut VariableBuilder,

Append a new Variable element

source

pub fn video<F>(&mut self, f: F) -> &mut Selfwhere F: for<'a> FnOnce(&'a mut VideoBuilder) -> &'a mut VideoBuilder,

Append a new Video element

source

pub fn access_key(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self

Set the value of the accesskey attribute

source

pub fn auto_capitalize( &mut self, value: impl Into<Cow<'static, str>> ) -> &mut Self

Set the value of the autocapitalize attribute

source

pub fn autofocus(&mut self, value: bool) -> &mut Self

Set the value of the autofocus attribute

source

pub fn class(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self

Set the value of the class attribute

source

pub fn content_editable( &mut self, value: impl Into<Cow<'static, str>> ) -> &mut Self

Set the value of the contenteditable attribute

source

pub fn direction(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self

Set the value of the dir attribute

source

pub fn draggable(&mut self, value: bool) -> &mut Self

Set the value of the draggable attribute

source

pub fn enter_key_hint( &mut self, value: impl Into<Cow<'static, str>> ) -> &mut Self

Set the value of the enterkeyhint attribute

source

pub fn export_parts(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self

Set the value of the exportparts attribute

source

pub fn hidden(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self

Set the value of the hidden attribute

source

pub fn id(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self

Set the value of the id attribute

source

pub fn inert(&mut self, value: bool) -> &mut Self

Set the value of the inert attribute

source

pub fn input_mode(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self

Set the value of the inputmode attribute

source

pub fn is_(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self

Set the value of the is attribute

source

pub fn item_id(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self

Set the value of the itemid attribute

source

pub fn item_prop(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self

Set the value of the itemprop attribute

source

pub fn item_ref(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self

Set the value of the itemref attribute

source

pub fn item_scope(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self

Set the value of the itemscope attribute

source

pub fn item_type(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self

Set the value of the itemtype attribute

source

pub fn lang(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self

Set the value of the lang attribute

source

pub fn nonce(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self

Set the value of the nonce attribute

source

pub fn part(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self

Set the value of the part attribute

source

pub fn slot_attr(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self

Set the value of the slot attribute

source

pub fn spellcheck(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self

Set the value of the spellcheck attribute

source

pub fn style(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self

Set the value of the style attribute

source

pub fn tab_index(&mut self, value: i64) -> &mut Self

Set the value of the tabindex attribute

source

pub fn title(&mut self, value: impl Into<Cow<'static, str>>) -> &mut Self

Set the value of the title attribute

source

pub fn translate(&mut self, value: bool) -> &mut Self

Set the value of the translate attribute

source

pub fn push<T>(&mut self, child_el: T) -> &mut Selfwhere T: Into<KeyboardInputChild>,

Push a new child element to the list of children.

source

pub fn extend<I, T>(&mut self, iter: I) -> &mut Selfwhere I: IntoIterator<Item = T>, T: Into<KeyboardInputChild>,

Extend the list of children with an iterator of child elements.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.