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 end(&mut self)

The final term in a chaining constructor.

This takes &mut self, and returns nothing. So you can use it as the final method when chaining in a closure.

source

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

Append a new Abbreviation element

source

pub fn address<F>(&mut self, f: F) -> &mut Selfwhere F: FnOnce(&mut AddressBuilder),

Append a new Address element

source

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

Append a new Anchor element

source

pub fn article<F>(&mut self, f: F) -> &mut Selfwhere F: FnOnce(&mut ArticleBuilder),

Append a new Article element

source

pub fn aside<F>(&mut self, f: F) -> &mut Selfwhere F: FnOnce(&mut AsideBuilder),

Append a new Aside element

source

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

Append a new Audio element

source

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

Append a new BidirectionalIsolate element

source

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

Append a new BidirectionalTextOverride element

source

pub fn block_quote<F>(&mut self, f: F) -> &mut Selfwhere F: FnOnce(&mut BlockQuoteBuilder),

Append a new BlockQuote element

source

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

Append a new Bold element

source

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

Append a new Button element

source

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

Append a new Canvas element

source

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

Append a new Cite element

source

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

Append a new Code element

source

pub fn data<F>(&mut self, f: F) -> &mut Selfwhere F: FnOnce(&mut DataBuilder),

Append a new Data element

source

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

Append a new DataList element

source

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

Append a new Definition element

source

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

Append a new DeletedText element

source

pub fn description_list<F>(&mut self, f: F) -> &mut Selfwhere F: FnOnce(&mut DescriptionListBuilder),

Append a new DescriptionList element

source

pub fn details<F>(&mut self, f: F) -> &mut Selfwhere F: FnOnce(&mut DetailsBuilder),

Append a new Details element

source

pub fn dialog<F>(&mut self, f: F) -> &mut Selfwhere F: FnOnce(&mut DialogBuilder),

Append a new Dialog element

source

pub fn division<F>(&mut self, f: F) -> &mut Selfwhere F: FnOnce(&mut DivisionBuilder),

Append a new Division element

source

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

Append a new Embed element

source

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

Append a new Emphasis element

source

pub fn fieldset<F>(&mut self, f: F) -> &mut Selfwhere F: FnOnce(&mut FieldsetBuilder),

Append a new Fieldset element

source

pub fn figure<F>(&mut self, f: F) -> &mut Selfwhere F: FnOnce(&mut FigureBuilder),

Append a new Figure element

source

pub fn footer<F>(&mut self, f: F) -> &mut Selfwhere F: FnOnce(&mut FooterBuilder),

Append a new Footer element

source

pub fn form<F>(&mut self, f: F) -> &mut Selfwhere F: FnOnce(&mut FormBuilder),

Append a new Form element

source

pub fn header<F>(&mut self, f: F) -> &mut Selfwhere F: FnOnce(&mut HeaderBuilder),

Append a new Header element

source

pub fn heading_1<F>(&mut self, f: F) -> &mut Selfwhere F: FnOnce(&mut Heading1Builder),

Append a new Heading1 element

source

pub fn heading_2<F>(&mut self, f: F) -> &mut Selfwhere F: FnOnce(&mut Heading2Builder),

Append a new Heading2 element

source

pub fn heading_3<F>(&mut self, f: F) -> &mut Selfwhere F: FnOnce(&mut Heading3Builder),

Append a new Heading3 element

source

pub fn heading_4<F>(&mut self, f: F) -> &mut Selfwhere F: FnOnce(&mut Heading4Builder),

Append a new Heading4 element

source

pub fn heading_5<F>(&mut self, f: F) -> &mut Selfwhere F: FnOnce(&mut Heading5Builder),

Append a new Heading5 element

source

pub fn heading_6<F>(&mut self, f: F) -> &mut Selfwhere F: FnOnce(&mut Heading6Builder),

Append a new Heading6 element

source

pub fn heading_group<F>(&mut self, f: F) -> &mut Selfwhere F: FnOnce(&mut HeadingGroupBuilder),

Append a new HeadingGroup element

source

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

Append a new Iframe element

source

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

Append a new Image element

source

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

Append a new ImageMap element

source

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

Append a new ImageMapArea element

source

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

Append a new Input element

source

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

Append a new InsertedText element

source

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

Append a new Italic element

source

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

Append a new KeyboardInput element

source

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

Append a new Label element

source

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

Append a new LineBreak element

source

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

Append a new LineBreakOpportunity element

source

pub fn main<F>(&mut self, f: F) -> &mut Selfwhere F: FnOnce(&mut MainBuilder),

Append a new Main element

source

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

Append a new MarkText element

source

pub fn menu<F>(&mut self, f: F) -> &mut Selfwhere F: FnOnce(&mut MenuBuilder),

Append a new Menu element

source

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

Append a new Meter element

source

pub fn navigation<F>(&mut self, f: F) -> &mut Selfwhere F: FnOnce(&mut NavigationBuilder),

Append a new Navigation element

source

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

Append a new NoScript element

source

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

Append a new Object element

source

pub fn ordered_list<F>(&mut self, f: F) -> &mut Selfwhere F: FnOnce(&mut OrderedListBuilder),

Append a new OrderedList element

source

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

Append a new Output element

source

pub fn paragraph<F>(&mut self, f: F) -> &mut Selfwhere F: FnOnce(&mut ParagraphBuilder),

Append a new Paragraph element

source

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

Append a new Picture element

source

pub fn preformatted_text<F>(&mut self, f: F) -> &mut Selfwhere F: FnOnce(&mut PreformattedTextBuilder),

Append a new PreformattedText element

source

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

Append a new Progress element

source

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

Append a new Quotation element

source

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

Append a new RubyAnnotation element

source

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

Append a new SampleOutput element

source

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

Append a new Script element

source

pub fn section<F>(&mut self, f: F) -> &mut Selfwhere F: FnOnce(&mut SectionBuilder),

Append a new Section element

source

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

Append a new Select element

source

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

Append a new SideComment element

source

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

Append a new Slot element

source

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

Append a new Span element

source

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

Append a new StrikeThrough element

source

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

Append a new Strong element

source

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

Append a new SubScript element

source

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

Append a new SuperScript element

source

pub fn table<F>(&mut self, f: F) -> &mut Selfwhere F: FnOnce(&mut TableBuilder),

Append a new Table element

source

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

Append a new Template element

source

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

Append a new TextArea element

source

pub fn thematic_break<F>(&mut self, f: F) -> &mut Selfwhere F: FnOnce(&mut ThematicBreakBuilder),

Append a new ThematicBreak element

source

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

Append a new Time element

source

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

Append a new Underline element

source

pub fn unordered_list<F>(&mut self, f: F) -> &mut Selfwhere F: FnOnce(&mut UnorderedListBuilder),

Append a new UnorderedList element

source

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

Append a new Variable element

source

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

Append a new Video element

source

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

Append a new text 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

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

const: unstable · 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.
const: unstable · 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.
const: unstable · source§

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

Performs the conversion.