pub enum HeaderChild {
Show 86 variants Abbreviation(Abbreviation), Address(Address), Anchor(Anchor), Article(Article), Aside(Aside), Audio(Audio), BidirectionalIsolate(BidirectionalIsolate), BidirectionalTextOverride(BidirectionalTextOverride), BlockQuote(BlockQuote), Bold(Bold), Button(Button), Canvas(Canvas), Cite(Cite), Code(Code), Data(Data), DataList(DataList), Definition(Definition), DeletedText(DeletedText), DescriptionList(DescriptionList), Details(Details), Dialog(Dialog), Division(Division), Embed(Embed), Emphasis(Emphasis), Fieldset(Fieldset), Figure(Figure), Footer(Footer), Form(Form), Header(Header), Heading1(Heading1), Heading2(Heading2), Heading3(Heading3), Heading4(Heading4), Heading5(Heading5), Heading6(Heading6), HeadingGroup(HeadingGroup), Iframe(Iframe), Image(Image), ImageMap(ImageMap), ImageMapArea(ImageMapArea), Input(Input), InsertedText(InsertedText), Italic(Italic), KeyboardInput(KeyboardInput), Label(Label), LineBreak(LineBreak), LineBreakOpportunity(LineBreakOpportunity), Link(Link), Main(Main), MarkText(MarkText), Menu(Menu), Meta(Meta), Meter(Meter), Navigation(Navigation), NoScript(NoScript), Object(Object), OrderedList(OrderedList), Output(Output), Paragraph(Paragraph), Picture(Picture), PreformattedText(PreformattedText), Progress(Progress), Quotation(Quotation), RubyAnnotation(RubyAnnotation), SampleOutput(SampleOutput), Script(Script), Search(Search), Section(Section), Select(Select), SideComment(SideComment), Slot(Slot), Span(Span), StrikeThrough(StrikeThrough), Strong(Strong), SubScript(SubScript), SuperScript(SuperScript), Table(Table), Template(Template), TextArea(TextArea), ThematicBreak(ThematicBreak), Time(Time), Underline(Underline), UnorderedList(UnorderedList), Variable(Variable), Video(Video), Text(Cow<'static, str>),
}
Expand description

The permitted child items for the Header element

Variants§

§

Abbreviation(Abbreviation)

The Abbreviation element

§

Address(Address)

The Address element

§

Anchor(Anchor)

The Anchor element

§

Article(Article)

The Article element

§

Aside(Aside)

The Aside element

§

Audio(Audio)

The Audio element

§

BidirectionalIsolate(BidirectionalIsolate)

The BidirectionalIsolate element

§

BidirectionalTextOverride(BidirectionalTextOverride)

The BidirectionalTextOverride element

§

BlockQuote(BlockQuote)

The BlockQuote element

§

Bold(Bold)

The Bold element

§

Button(Button)

The Button element

§

Canvas(Canvas)

The Canvas element

§

Cite(Cite)

The Cite element

§

Code(Code)

The Code element

§

Data(Data)

The Data element

§

DataList(DataList)

The DataList element

§

Definition(Definition)

The Definition element

§

DeletedText(DeletedText)

The DeletedText element

§

DescriptionList(DescriptionList)

The DescriptionList element

§

Details(Details)

The Details element

§

Dialog(Dialog)

The Dialog element

§

Division(Division)

The Division element

§

Embed(Embed)

The Embed element

§

Emphasis(Emphasis)

The Emphasis element

§

Fieldset(Fieldset)

The Fieldset element

§

Figure(Figure)

The Figure element

§

Footer(Footer)

The Footer element

§

Form(Form)

The Form element

§

Header(Header)

The Header element

§

Heading1(Heading1)

The Heading1 element

§

Heading2(Heading2)

The Heading2 element

§

Heading3(Heading3)

The Heading3 element

§

Heading4(Heading4)

The Heading4 element

§

Heading5(Heading5)

The Heading5 element

§

Heading6(Heading6)

The Heading6 element

§

HeadingGroup(HeadingGroup)

The HeadingGroup element

§

Iframe(Iframe)

The Iframe element

§

Image(Image)

The Image element

§

ImageMap(ImageMap)

The ImageMap element

§

ImageMapArea(ImageMapArea)

The ImageMapArea element

§

Input(Input)

The Input element

§

InsertedText(InsertedText)

The InsertedText element

§

Italic(Italic)

The Italic element

§

KeyboardInput(KeyboardInput)

The KeyboardInput element

§

Label(Label)

The Label element

§

LineBreak(LineBreak)

The LineBreak element

§

LineBreakOpportunity(LineBreakOpportunity)

The LineBreakOpportunity element

The Link element

§

Main(Main)

The Main element

§

MarkText(MarkText)

The MarkText element

§

Menu(Menu)

The Menu element

§

Meta(Meta)

The Meta element

§

Meter(Meter)

The Meter element

§

Navigation(Navigation)

The Navigation element

§

NoScript(NoScript)

The NoScript element

§

Object(Object)

The Object element

§

OrderedList(OrderedList)

The OrderedList element

§

Output(Output)

The Output element

§

Paragraph(Paragraph)

The Paragraph element

§

Picture(Picture)

The Picture element

§

PreformattedText(PreformattedText)

The PreformattedText element

§

Progress(Progress)

The Progress element

§

Quotation(Quotation)

The Quotation element

§

RubyAnnotation(RubyAnnotation)

The RubyAnnotation element

§

SampleOutput(SampleOutput)

The SampleOutput element

§

Script(Script)

The Script element

§

Search(Search)

The Search element

§

Section(Section)

The Section element

§

Select(Select)

The Select element

§

SideComment(SideComment)

The SideComment element

§

Slot(Slot)

The Slot element

§

Span(Span)

The Span element

§

StrikeThrough(StrikeThrough)

The StrikeThrough element

§

Strong(Strong)

The Strong element

§

SubScript(SubScript)

The SubScript element

§

SuperScript(SuperScript)

The SuperScript element

§

Table(Table)

The Table element

§

Template(Template)

The Template element

§

TextArea(TextArea)

The TextArea element

§

ThematicBreak(ThematicBreak)

The ThematicBreak element

§

Time(Time)

The Time element

§

Underline(Underline)

The Underline element

§

UnorderedList(UnorderedList)

The UnorderedList element

§

Variable(Variable)

The Variable element

§

Video(Video)

The Video element

§

Text(Cow<'static, str>)

The Text element

Trait Implementations§

source§

impl Clone for HeaderChild

source§

fn clone(&self) -> HeaderChild

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for HeaderChild

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for HeaderChild

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<&'static str> for HeaderChild

source§

fn from(value: &'static str) -> Self

Converts to this type from the input type.
source§

impl From<Abbreviation> for HeaderChild

source§

fn from(value: Abbreviation) -> Self

Converts to this type from the input type.
source§

impl From<Address> for HeaderChild

source§

fn from(value: Address) -> Self

Converts to this type from the input type.
source§

impl From<Anchor> for HeaderChild

source§

fn from(value: Anchor) -> Self

Converts to this type from the input type.
source§

impl From<Article> for HeaderChild

source§

fn from(value: Article) -> Self

Converts to this type from the input type.
source§

impl From<Aside> for HeaderChild

source§

fn from(value: Aside) -> Self

Converts to this type from the input type.
source§

impl From<Audio> for HeaderChild

source§

fn from(value: Audio) -> Self

Converts to this type from the input type.
source§

impl From<BidirectionalIsolate> for HeaderChild

source§

fn from(value: BidirectionalIsolate) -> Self

Converts to this type from the input type.
source§

impl From<BidirectionalTextOverride> for HeaderChild

source§

fn from(value: BidirectionalTextOverride) -> Self

Converts to this type from the input type.
source§

impl From<BlockQuote> for HeaderChild

source§

fn from(value: BlockQuote) -> Self

Converts to this type from the input type.
source§

impl From<Bold> for HeaderChild

source§

fn from(value: Bold) -> Self

Converts to this type from the input type.
source§

impl From<Button> for HeaderChild

source§

fn from(value: Button) -> Self

Converts to this type from the input type.
source§

impl From<Canvas> for HeaderChild

source§

fn from(value: Canvas) -> Self

Converts to this type from the input type.
source§

impl From<Cite> for HeaderChild

source§

fn from(value: Cite) -> Self

Converts to this type from the input type.
source§

impl From<Code> for HeaderChild

source§

fn from(value: Code) -> Self

Converts to this type from the input type.
source§

impl From<Cow<'static, str>> for HeaderChild

source§

fn from(value: Cow<'static, str>) -> Self

Converts to this type from the input type.
source§

impl From<Data> for HeaderChild

source§

fn from(value: Data) -> Self

Converts to this type from the input type.
source§

impl From<DataList> for HeaderChild

source§

fn from(value: DataList) -> Self

Converts to this type from the input type.
source§

impl From<Definition> for HeaderChild

source§

fn from(value: Definition) -> Self

Converts to this type from the input type.
source§

impl From<DeletedText> for HeaderChild

source§

fn from(value: DeletedText) -> Self

Converts to this type from the input type.
source§

impl From<DescriptionList> for HeaderChild

source§

fn from(value: DescriptionList) -> Self

Converts to this type from the input type.
source§

impl From<Details> for HeaderChild

source§

fn from(value: Details) -> Self

Converts to this type from the input type.
source§

impl From<Dialog> for HeaderChild

source§

fn from(value: Dialog) -> Self

Converts to this type from the input type.
source§

impl From<Division> for HeaderChild

source§

fn from(value: Division) -> Self

Converts to this type from the input type.
source§

impl From<Embed> for HeaderChild

source§

fn from(value: Embed) -> Self

Converts to this type from the input type.
source§

impl From<Emphasis> for HeaderChild

source§

fn from(value: Emphasis) -> Self

Converts to this type from the input type.
source§

impl From<Fieldset> for HeaderChild

source§

fn from(value: Fieldset) -> Self

Converts to this type from the input type.
source§

impl From<Figure> for HeaderChild

source§

fn from(value: Figure) -> Self

Converts to this type from the input type.
source§

impl From<Footer> for HeaderChild

source§

fn from(value: Footer) -> Self

Converts to this type from the input type.
source§

impl From<Form> for HeaderChild

source§

fn from(value: Form) -> Self

Converts to this type from the input type.
source§

impl From<Header> for HeaderChild

source§

fn from(value: Header) -> Self

Converts to this type from the input type.
source§

impl From<Heading1> for HeaderChild

source§

fn from(value: Heading1) -> Self

Converts to this type from the input type.
source§

impl From<Heading2> for HeaderChild

source§

fn from(value: Heading2) -> Self

Converts to this type from the input type.
source§

impl From<Heading3> for HeaderChild

source§

fn from(value: Heading3) -> Self

Converts to this type from the input type.
source§

impl From<Heading4> for HeaderChild

source§

fn from(value: Heading4) -> Self

Converts to this type from the input type.
source§

impl From<Heading5> for HeaderChild

source§

fn from(value: Heading5) -> Self

Converts to this type from the input type.
source§

impl From<Heading6> for HeaderChild

source§

fn from(value: Heading6) -> Self

Converts to this type from the input type.
source§

impl From<HeadingGroup> for HeaderChild

source§

fn from(value: HeadingGroup) -> Self

Converts to this type from the input type.
source§

impl From<Iframe> for HeaderChild

source§

fn from(value: Iframe) -> Self

Converts to this type from the input type.
source§

impl From<Image> for HeaderChild

source§

fn from(value: Image) -> Self

Converts to this type from the input type.
source§

impl From<ImageMap> for HeaderChild

source§

fn from(value: ImageMap) -> Self

Converts to this type from the input type.
source§

impl From<ImageMapArea> for HeaderChild

source§

fn from(value: ImageMapArea) -> Self

Converts to this type from the input type.
source§

impl From<Input> for HeaderChild

source§

fn from(value: Input) -> Self

Converts to this type from the input type.
source§

impl From<InsertedText> for HeaderChild

source§

fn from(value: InsertedText) -> Self

Converts to this type from the input type.
source§

impl From<Italic> for HeaderChild

source§

fn from(value: Italic) -> Self

Converts to this type from the input type.
source§

impl From<KeyboardInput> for HeaderChild

source§

fn from(value: KeyboardInput) -> Self

Converts to this type from the input type.
source§

impl From<Label> for HeaderChild

source§

fn from(value: Label) -> Self

Converts to this type from the input type.
source§

impl From<LineBreak> for HeaderChild

source§

fn from(value: LineBreak) -> Self

Converts to this type from the input type.
source§

impl From<LineBreakOpportunity> for HeaderChild

source§

fn from(value: LineBreakOpportunity) -> Self

Converts to this type from the input type.
source§

impl From<Link> for HeaderChild

source§

fn from(value: Link) -> Self

Converts to this type from the input type.
source§

impl From<Main> for HeaderChild

source§

fn from(value: Main) -> Self

Converts to this type from the input type.
source§

impl From<MarkText> for HeaderChild

source§

fn from(value: MarkText) -> Self

Converts to this type from the input type.
source§

impl From<Menu> for HeaderChild

source§

fn from(value: Menu) -> Self

Converts to this type from the input type.
source§

impl From<Meta> for HeaderChild

source§

fn from(value: Meta) -> Self

Converts to this type from the input type.
source§

impl From<Meter> for HeaderChild

source§

fn from(value: Meter) -> Self

Converts to this type from the input type.
source§

impl From<Navigation> for HeaderChild

source§

fn from(value: Navigation) -> Self

Converts to this type from the input type.
source§

impl From<NoScript> for HeaderChild

source§

fn from(value: NoScript) -> Self

Converts to this type from the input type.
source§

impl From<Object> for HeaderChild

source§

fn from(value: Object) -> Self

Converts to this type from the input type.
source§

impl From<OrderedList> for HeaderChild

source§

fn from(value: OrderedList) -> Self

Converts to this type from the input type.
source§

impl From<Output> for HeaderChild

source§

fn from(value: Output) -> Self

Converts to this type from the input type.
source§

impl From<Paragraph> for HeaderChild

source§

fn from(value: Paragraph) -> Self

Converts to this type from the input type.
source§

impl From<Picture> for HeaderChild

source§

fn from(value: Picture) -> Self

Converts to this type from the input type.
source§

impl From<PreformattedText> for HeaderChild

source§

fn from(value: PreformattedText) -> Self

Converts to this type from the input type.
source§

impl From<Progress> for HeaderChild

source§

fn from(value: Progress) -> Self

Converts to this type from the input type.
source§

impl From<Quotation> for HeaderChild

source§

fn from(value: Quotation) -> Self

Converts to this type from the input type.
source§

impl From<RubyAnnotation> for HeaderChild

source§

fn from(value: RubyAnnotation) -> Self

Converts to this type from the input type.
source§

impl From<SampleOutput> for HeaderChild

source§

fn from(value: SampleOutput) -> Self

Converts to this type from the input type.
source§

impl From<Script> for HeaderChild

source§

fn from(value: Script) -> Self

Converts to this type from the input type.
source§

impl From<Search> for HeaderChild

source§

fn from(value: Search) -> Self

Converts to this type from the input type.
source§

impl From<Section> for HeaderChild

source§

fn from(value: Section) -> Self

Converts to this type from the input type.
source§

impl From<Select> for HeaderChild

source§

fn from(value: Select) -> Self

Converts to this type from the input type.
source§

impl From<SideComment> for HeaderChild

source§

fn from(value: SideComment) -> Self

Converts to this type from the input type.
source§

impl From<Slot> for HeaderChild

source§

fn from(value: Slot) -> Self

Converts to this type from the input type.
source§

impl From<Span> for HeaderChild

source§

fn from(value: Span) -> Self

Converts to this type from the input type.
source§

impl From<StrikeThrough> for HeaderChild

source§

fn from(value: StrikeThrough) -> Self

Converts to this type from the input type.
source§

impl From<String> for HeaderChild

source§

fn from(value: String) -> Self

Converts to this type from the input type.
source§

impl From<Strong> for HeaderChild

source§

fn from(value: Strong) -> Self

Converts to this type from the input type.
source§

impl From<SubScript> for HeaderChild

source§

fn from(value: SubScript) -> Self

Converts to this type from the input type.
source§

impl From<SuperScript> for HeaderChild

source§

fn from(value: SuperScript) -> Self

Converts to this type from the input type.
source§

impl From<Table> for HeaderChild

source§

fn from(value: Table) -> Self

Converts to this type from the input type.
source§

impl From<Template> for HeaderChild

source§

fn from(value: Template) -> Self

Converts to this type from the input type.
source§

impl From<TextArea> for HeaderChild

source§

fn from(value: TextArea) -> Self

Converts to this type from the input type.
source§

impl From<ThematicBreak> for HeaderChild

source§

fn from(value: ThematicBreak) -> Self

Converts to this type from the input type.
source§

impl From<Time> for HeaderChild

source§

fn from(value: Time) -> Self

Converts to this type from the input type.
source§

impl From<Underline> for HeaderChild

source§

fn from(value: Underline) -> Self

Converts to this type from the input type.
source§

impl From<UnorderedList> for HeaderChild

source§

fn from(value: UnorderedList) -> Self

Converts to this type from the input type.
source§

impl From<Variable> for HeaderChild

source§

fn from(value: Variable) -> Self

Converts to this type from the input type.
source§

impl From<Video> for HeaderChild

source§

fn from(value: Video) -> Self

Converts to this type from the input type.
source§

impl PartialEq<HeaderChild> for HeaderChild

source§

fn eq(&self, other: &HeaderChild) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Render for HeaderChild

source§

fn render(&self, f: &mut Formatter<'_>, depth: usize) -> Result

Render an element with a given depth argument.
source§

impl StructuralPartialEq for HeaderChild

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> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
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.