Struct NavigationBuilder

Source
pub struct NavigationBuilder { /* private fields */ }
Expand description

A builder struct for Navigation

Implementations§

Source§

impl NavigationBuilder

Source

pub fn build(&mut self) -> Navigation

Finish building the element

Source

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

Insert a data-* property

Source

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

Append a new Abbreviation element

Source

pub fn address<F>(&mut self, f: F) -> &mut Self
where F: for<'a> FnOnce(&'a mut AddressBuilder) -> &'a mut AddressBuilder,

Append a new Address element

Source

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

Append a new Anchor element

Source

pub fn article<F>(&mut self, f: F) -> &mut Self
where F: for<'a> FnOnce(&'a mut ArticleBuilder) -> &'a mut ArticleBuilder,

Append a new Article element

Source

pub fn aside<F>(&mut self, f: F) -> &mut Self
where F: for<'a> FnOnce(&'a mut AsideBuilder) -> &'a mut AsideBuilder,

Append a new Aside element

Source

pub fn audio<F>(&mut self, f: F) -> &mut Self
where 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 Self
where 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 Self

Append a new BidirectionalTextOverride element

Source

pub fn block_quote<F>(&mut self, f: F) -> &mut Self
where F: for<'a> FnOnce(&'a mut BlockQuoteBuilder) -> &'a mut BlockQuoteBuilder,

Append a new BlockQuote element

Source

pub fn bold<F>(&mut self, f: F) -> &mut Self
where 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 Self
where 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 Self
where 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 Self
where 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 Self
where 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 Self
where 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 Self
where 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 Self
where 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 Self
where F: for<'a> FnOnce(&'a mut DeletedTextBuilder) -> &'a mut DeletedTextBuilder,

Append a new DeletedText element

Source

pub fn description_list<F>(&mut self, f: F) -> &mut Self
where F: for<'a> FnOnce(&'a mut DescriptionListBuilder) -> &'a mut DescriptionListBuilder,

Append a new DescriptionList element

Source

pub fn details<F>(&mut self, f: F) -> &mut Self
where F: for<'a> FnOnce(&'a mut DetailsBuilder) -> &'a mut DetailsBuilder,

Append a new Details element

Source

pub fn dialog<F>(&mut self, f: F) -> &mut Self
where F: for<'a> FnOnce(&'a mut DialogBuilder) -> &'a mut DialogBuilder,

Append a new Dialog element

Source

pub fn division<F>(&mut self, f: F) -> &mut Self
where F: for<'a> FnOnce(&'a mut DivisionBuilder) -> &'a mut DivisionBuilder,

Append a new Division element

Source

pub fn embed<F>(&mut self, f: F) -> &mut Self
where 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 Self
where F: for<'a> FnOnce(&'a mut EmphasisBuilder) -> &'a mut EmphasisBuilder,

Append a new Emphasis element

Source

pub fn fieldset<F>(&mut self, f: F) -> &mut Self
where F: for<'a> FnOnce(&'a mut FieldsetBuilder) -> &'a mut FieldsetBuilder,

Append a new Fieldset element

Source

pub fn figure<F>(&mut self, f: F) -> &mut Self
where F: for<'a> FnOnce(&'a mut FigureBuilder) -> &'a mut FigureBuilder,

Append a new Figure element

Source

pub fn footer<F>(&mut self, f: F) -> &mut Self
where F: for<'a> FnOnce(&'a mut FooterBuilder) -> &'a mut FooterBuilder,

Append a new Footer element

Source

pub fn form<F>(&mut self, f: F) -> &mut Self
where F: for<'a> FnOnce(&'a mut FormBuilder) -> &'a mut FormBuilder,

Append a new Form element

Source

pub fn header<F>(&mut self, f: F) -> &mut Self
where F: for<'a> FnOnce(&'a mut HeaderBuilder) -> &'a mut HeaderBuilder,

Append a new Header element

Source

pub fn heading_1<F>(&mut self, f: F) -> &mut Self
where F: for<'a> FnOnce(&'a mut Heading1Builder) -> &'a mut Heading1Builder,

Append a new Heading1 element

Source

pub fn heading_2<F>(&mut self, f: F) -> &mut Self
where F: for<'a> FnOnce(&'a mut Heading2Builder) -> &'a mut Heading2Builder,

Append a new Heading2 element

Source

pub fn heading_3<F>(&mut self, f: F) -> &mut Self
where F: for<'a> FnOnce(&'a mut Heading3Builder) -> &'a mut Heading3Builder,

Append a new Heading3 element

Source

pub fn heading_4<F>(&mut self, f: F) -> &mut Self
where F: for<'a> FnOnce(&'a mut Heading4Builder) -> &'a mut Heading4Builder,

Append a new Heading4 element

Source

pub fn heading_5<F>(&mut self, f: F) -> &mut Self
where F: for<'a> FnOnce(&'a mut Heading5Builder) -> &'a mut Heading5Builder,

Append a new Heading5 element

Source

pub fn heading_6<F>(&mut self, f: F) -> &mut Self
where F: for<'a> FnOnce(&'a mut Heading6Builder) -> &'a mut Heading6Builder,

Append a new Heading6 element

Source

pub fn heading_group<F>(&mut self, f: F) -> &mut Self
where F: for<'a> FnOnce(&'a mut HeadingGroupBuilder) -> &'a mut HeadingGroupBuilder,

Append a new HeadingGroup element

Source

pub fn iframe<F>(&mut self, f: F) -> &mut Self
where 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 Self
where 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 Self
where 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 Self
where 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 Self
where 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 Self
where 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 Self
where 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 Self
where 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 Self
where 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 Self
where 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 Self
where F: for<'a> FnOnce(&'a mut LineBreakOpportunityBuilder) -> &'a mut LineBreakOpportunityBuilder,

Append a new LineBreakOpportunity element

Append a new Link element

Source

pub fn main<F>(&mut self, f: F) -> &mut Self
where F: for<'a> FnOnce(&'a mut MainBuilder) -> &'a mut MainBuilder,

Append a new Main element

Source

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

Append a new MarkText element

Source

pub fn menu<F>(&mut self, f: F) -> &mut Self
where F: for<'a> FnOnce(&'a mut MenuBuilder) -> &'a mut MenuBuilder,

Append a new Menu element

Source

pub fn meta<F>(&mut self, f: F) -> &mut Self
where 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 Self
where F: for<'a> FnOnce(&'a mut MeterBuilder) -> &'a mut MeterBuilder,

Append a new Meter element

Source

pub fn navigation<F>(&mut self, f: F) -> &mut Self
where F: for<'a> FnOnce(&'a mut NavigationBuilder) -> &'a mut NavigationBuilder,

Append a new Navigation element

Source

pub fn no_script<F>(&mut self, f: F) -> &mut Self
where 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 Self
where F: for<'a> FnOnce(&'a mut ObjectBuilder) -> &'a mut ObjectBuilder,

Append a new Object element

Source

pub fn ordered_list<F>(&mut self, f: F) -> &mut Self
where F: for<'a> FnOnce(&'a mut OrderedListBuilder) -> &'a mut OrderedListBuilder,

Append a new OrderedList element

Source

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

Append a new Output element

Source

pub fn paragraph<F>(&mut self, f: F) -> &mut Self
where F: for<'a> FnOnce(&'a mut ParagraphBuilder) -> &'a mut ParagraphBuilder,

Append a new Paragraph element

Source

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

Append a new Picture element

Source

pub fn preformatted_text<F>(&mut self, f: F) -> &mut Self
where F: for<'a> FnOnce(&'a mut PreformattedTextBuilder) -> &'a mut PreformattedTextBuilder,

Append a new PreformattedText element

Source

pub fn progress<F>(&mut self, f: F) -> &mut Self
where 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 Self
where 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 Self
where 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 Self
where 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 Self
where F: for<'a> FnOnce(&'a mut ScriptBuilder) -> &'a mut ScriptBuilder,

Append a new Script element

Source

pub fn search<F>(&mut self, f: F) -> &mut Self
where F: for<'a> FnOnce(&'a mut SearchBuilder) -> &'a mut SearchBuilder,

Append a new Search element

Source

pub fn section<F>(&mut self, f: F) -> &mut Self
where F: for<'a> FnOnce(&'a mut SectionBuilder) -> &'a mut SectionBuilder,

Append a new Section element

Source

pub fn select<F>(&mut self, f: F) -> &mut Self
where 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 Self
where 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 Self
where 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 Self
where 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 Self
where 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 Self
where 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 Self
where 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 Self
where F: for<'a> FnOnce(&'a mut SuperScriptBuilder) -> &'a mut SuperScriptBuilder,

Append a new SuperScript element

Source

pub fn table<F>(&mut self, f: F) -> &mut Self
where F: for<'a> FnOnce(&'a mut TableBuilder) -> &'a mut TableBuilder,

Append a new Table element

Source

pub fn template<F>(&mut self, f: F) -> &mut Self
where 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 Self
where F: for<'a> FnOnce(&'a mut TextAreaBuilder) -> &'a mut TextAreaBuilder,

Append a new TextArea element

Source

pub fn thematic_break<F>(&mut self, f: F) -> &mut Self
where F: for<'a> FnOnce(&'a mut ThematicBreakBuilder) -> &'a mut ThematicBreakBuilder,

Append a new ThematicBreak element

Source

pub fn time<F>(&mut self, f: F) -> &mut Self
where 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 Self
where F: for<'a> FnOnce(&'a mut UnderlineBuilder) -> &'a mut UnderlineBuilder,

Append a new Underline element

Source

pub fn unordered_list<F>(&mut self, f: F) -> &mut Self
where F: for<'a> FnOnce(&'a mut UnorderedListBuilder) -> &'a mut UnorderedListBuilder,

Append a new UnorderedList element

Source

pub fn variable<F>(&mut self, f: F) -> &mut Self
where 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 Self
where F: for<'a> FnOnce(&'a mut VideoBuilder) -> &'a mut VideoBuilder,

Append a new Video element

Source

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

Set the value of the role attribute

Source

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

Set the value of the aria-activedescendant attribute

Source

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

Set the value of the aria-atomic attribute

Source

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

Set the value of the aria-braillelabel attribute

Source

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

Set the value of the aria-brailleroledescription attribute

Source

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

Set the value of the aria-busy attribute

Source

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

Set the value of the aria-controls attribute

Source

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

Set the value of the aria-current attribute

Source

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

Set the value of the aria-describedby attribute

Source

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

Set the value of the aria-description attribute

Source

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

Set the value of the aria-details attribute

Source

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

Set the value of the aria-disabled attribute

Source

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

Set the value of the aria-dropeffect attribute

Source

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

Set the value of the aria-errormessage attribute

Source

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

Set the value of the aria-flowto attribute

Source

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

Set the value of the aria-grabbed attribute

Source

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

Set the value of the aria-haspopup attribute

Source

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

Set the value of the aria-hidden attribute

Source

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

Set the value of the aria-invalid attribute

Source

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

Set the value of the aria-keyshortcuts attribute

Source

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

Set the value of the aria-label attribute

Source

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

Set the value of the aria-labelledby attribute

Source

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

Set the value of the aria-live attribute

Source

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

Set the value of the aria-multiselectable attribute

Source

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

Set the value of the aria-orientation attribute

Source

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

Set the value of the aria-owns attribute

Source

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

Set the value of the aria-relevant attribute

Source

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

Set the value of the aria-roledescription attribute

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 Self

Push a new child element to the list of children.

Source

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

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

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where 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 T
where 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 T
where U: Into<T>,

Source§

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 T
where U: TryFrom<T>,

Source§

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.