pub enum LabelChild {
Show 55 variants Abbreviation(Abbreviation), Anchor(Anchor), Audio(Audio), BidirectionalIsolate(BidirectionalIsolate), BidirectionalTextOverride(BidirectionalTextOverride), Bold(Bold), Button(Button), Canvas(Canvas), Cite(Cite), Code(Code), Data(Data), DataList(DataList), Definition(Definition), DeletedText(DeletedText), Embed(Embed), Emphasis(Emphasis), Iframe(Iframe), Image(Image), ImageMap(ImageMap), ImageMapArea(ImageMapArea), Input(Input), InsertedText(InsertedText), Italic(Italic), KeyboardInput(KeyboardInput), Label(Label), LineBreak(LineBreak), LineBreakOpportunity(LineBreakOpportunity), Link(Link), MarkText(MarkText), Meta(Meta), Meter(Meter), NoScript(NoScript), Object(Object), Output(Output), Picture(Picture), Progress(Progress), Quotation(Quotation), RubyAnnotation(RubyAnnotation), SampleOutput(SampleOutput), Script(Script), Select(Select), SideComment(SideComment), Slot(Slot), Span(Span), StrikeThrough(StrikeThrough), Strong(Strong), SubScript(SubScript), SuperScript(SuperScript), Template(Template), TextArea(TextArea), Time(Time), Underline(Underline), Variable(Variable), Video(Video), Text(Cow<'static, str>),
}
Expand description

The permitted child items for the Label element

Variants§

§

Abbreviation(Abbreviation)

The Abbreviation element

§

Anchor(Anchor)

The Anchor element

§

Audio(Audio)

The Audio element

§

BidirectionalIsolate(BidirectionalIsolate)

The BidirectionalIsolate element

§

BidirectionalTextOverride(BidirectionalTextOverride)

The BidirectionalTextOverride 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

§

Embed(Embed)

The Embed element

§

Emphasis(Emphasis)

The Emphasis 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

§

MarkText(MarkText)

The MarkText element

§

Meta(Meta)

The Meta element

§

Meter(Meter)

The Meter element

§

NoScript(NoScript)

The NoScript element

§

Object(Object)

The Object element

§

Output(Output)

The Output element

§

Picture(Picture)

The Picture 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

§

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

§

Template(Template)

The Template element

§

TextArea(TextArea)

The TextArea element

§

Time(Time)

The Time element

§

Underline(Underline)

The Underline element

§

Variable(Variable)

The Variable element

§

Video(Video)

The Video element

§

Text(Cow<'static, str>)

The Text element

Trait Implementations§

source§

impl Clone for LabelChild

source§

fn clone(&self) -> LabelChild

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 LabelChild

source§

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

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

impl Display for LabelChild

source§

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

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

impl From<&'static str> for LabelChild

source§

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

Converts to this type from the input type.
source§

impl From<Abbreviation> for LabelChild

source§

fn from(value: Abbreviation) -> Self

Converts to this type from the input type.
source§

impl From<Anchor> for LabelChild

source§

fn from(value: Anchor) -> Self

Converts to this type from the input type.
source§

impl From<Audio> for LabelChild

source§

fn from(value: Audio) -> Self

Converts to this type from the input type.
source§

impl From<BidirectionalIsolate> for LabelChild

source§

fn from(value: BidirectionalIsolate) -> Self

Converts to this type from the input type.
source§

impl From<BidirectionalTextOverride> for LabelChild

source§

fn from(value: BidirectionalTextOverride) -> Self

Converts to this type from the input type.
source§

impl From<Bold> for LabelChild

source§

fn from(value: Bold) -> Self

Converts to this type from the input type.
source§

impl From<Button> for LabelChild

source§

fn from(value: Button) -> Self

Converts to this type from the input type.
source§

impl From<Canvas> for LabelChild

source§

fn from(value: Canvas) -> Self

Converts to this type from the input type.
source§

impl From<Cite> for LabelChild

source§

fn from(value: Cite) -> Self

Converts to this type from the input type.
source§

impl From<Code> for LabelChild

source§

fn from(value: Code) -> Self

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

impl From<Data> for LabelChild

source§

fn from(value: Data) -> Self

Converts to this type from the input type.
source§

impl From<DataList> for LabelChild

source§

fn from(value: DataList) -> Self

Converts to this type from the input type.
source§

impl From<Definition> for LabelChild

source§

fn from(value: Definition) -> Self

Converts to this type from the input type.
source§

impl From<DeletedText> for LabelChild

source§

fn from(value: DeletedText) -> Self

Converts to this type from the input type.
source§

impl From<Embed> for LabelChild

source§

fn from(value: Embed) -> Self

Converts to this type from the input type.
source§

impl From<Emphasis> for LabelChild

source§

fn from(value: Emphasis) -> Self

Converts to this type from the input type.
source§

impl From<Iframe> for LabelChild

source§

fn from(value: Iframe) -> Self

Converts to this type from the input type.
source§

impl From<Image> for LabelChild

source§

fn from(value: Image) -> Self

Converts to this type from the input type.
source§

impl From<ImageMap> for LabelChild

source§

fn from(value: ImageMap) -> Self

Converts to this type from the input type.
source§

impl From<ImageMapArea> for LabelChild

source§

fn from(value: ImageMapArea) -> Self

Converts to this type from the input type.
source§

impl From<Input> for LabelChild

source§

fn from(value: Input) -> Self

Converts to this type from the input type.
source§

impl From<InsertedText> for LabelChild

source§

fn from(value: InsertedText) -> Self

Converts to this type from the input type.
source§

impl From<Italic> for LabelChild

source§

fn from(value: Italic) -> Self

Converts to this type from the input type.
source§

impl From<KeyboardInput> for LabelChild

source§

fn from(value: KeyboardInput) -> Self

Converts to this type from the input type.
source§

impl From<Label> for LabelChild

source§

fn from(value: Label) -> Self

Converts to this type from the input type.
source§

impl From<LineBreak> for LabelChild

source§

fn from(value: LineBreak) -> Self

Converts to this type from the input type.
source§

impl From<LineBreakOpportunity> for LabelChild

source§

fn from(value: LineBreakOpportunity) -> Self

Converts to this type from the input type.
source§

impl From<Link> for LabelChild

source§

fn from(value: Link) -> Self

Converts to this type from the input type.
source§

impl From<MarkText> for LabelChild

source§

fn from(value: MarkText) -> Self

Converts to this type from the input type.
source§

impl From<Meta> for LabelChild

source§

fn from(value: Meta) -> Self

Converts to this type from the input type.
source§

impl From<Meter> for LabelChild

source§

fn from(value: Meter) -> Self

Converts to this type from the input type.
source§

impl From<NoScript> for LabelChild

source§

fn from(value: NoScript) -> Self

Converts to this type from the input type.
source§

impl From<Object> for LabelChild

source§

fn from(value: Object) -> Self

Converts to this type from the input type.
source§

impl From<Output> for LabelChild

source§

fn from(value: Output) -> Self

Converts to this type from the input type.
source§

impl From<Picture> for LabelChild

source§

fn from(value: Picture) -> Self

Converts to this type from the input type.
source§

impl From<Progress> for LabelChild

source§

fn from(value: Progress) -> Self

Converts to this type from the input type.
source§

impl From<Quotation> for LabelChild

source§

fn from(value: Quotation) -> Self

Converts to this type from the input type.
source§

impl From<RubyAnnotation> for LabelChild

source§

fn from(value: RubyAnnotation) -> Self

Converts to this type from the input type.
source§

impl From<SampleOutput> for LabelChild

source§

fn from(value: SampleOutput) -> Self

Converts to this type from the input type.
source§

impl From<Script> for LabelChild

source§

fn from(value: Script) -> Self

Converts to this type from the input type.
source§

impl From<Select> for LabelChild

source§

fn from(value: Select) -> Self

Converts to this type from the input type.
source§

impl From<SideComment> for LabelChild

source§

fn from(value: SideComment) -> Self

Converts to this type from the input type.
source§

impl From<Slot> for LabelChild

source§

fn from(value: Slot) -> Self

Converts to this type from the input type.
source§

impl From<Span> for LabelChild

source§

fn from(value: Span) -> Self

Converts to this type from the input type.
source§

impl From<StrikeThrough> for LabelChild

source§

fn from(value: StrikeThrough) -> Self

Converts to this type from the input type.
source§

impl From<String> for LabelChild

source§

fn from(value: String) -> Self

Converts to this type from the input type.
source§

impl From<Strong> for LabelChild

source§

fn from(value: Strong) -> Self

Converts to this type from the input type.
source§

impl From<SubScript> for LabelChild

source§

fn from(value: SubScript) -> Self

Converts to this type from the input type.
source§

impl From<SuperScript> for LabelChild

source§

fn from(value: SuperScript) -> Self

Converts to this type from the input type.
source§

impl From<Template> for LabelChild

source§

fn from(value: Template) -> Self

Converts to this type from the input type.
source§

impl From<TextArea> for LabelChild

source§

fn from(value: TextArea) -> Self

Converts to this type from the input type.
source§

impl From<Time> for LabelChild

source§

fn from(value: Time) -> Self

Converts to this type from the input type.
source§

impl From<Underline> for LabelChild

source§

fn from(value: Underline) -> Self

Converts to this type from the input type.
source§

impl From<Variable> for LabelChild

source§

fn from(value: Variable) -> Self

Converts to this type from the input type.
source§

impl From<Video> for LabelChild

source§

fn from(value: Video) -> Self

Converts to this type from the input type.
source§

impl PartialEq<LabelChild> for LabelChild

source§

fn eq(&self, other: &LabelChild) -> 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 LabelChild

source§

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

Render an element with a given depth argument.
source§

impl StructuralPartialEq for LabelChild

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.