pub enum InlineContent {
Show 23 variants AudioObject(AudioObjectSimple), Cite(Cite), CiteGroup(CiteGroup), CodeExpression(CodeExpression), CodeFragment(CodeFragment), Delete(Delete), Emphasis(Emphasis), ImageObject(ImageObjectSimple), Link(Link), MathFragment(MathFragment), NontextualAnnotation(NontextualAnnotation), Note(Note), Parameter(Parameter), Quote(Quote), Strong(Strong), Subscript(Subscript), Superscript(Superscript), VideoObject(VideoObjectSimple), Null(Null), Boolean(Boolean), Integer(Integer), Number(Number), String(String),
}
Expand description

Union type for valid inline content.

Variants

AudioObject(AudioObjectSimple)

Tuple Fields

Cite(Cite)

Tuple Fields

0: Cite

CiteGroup(CiteGroup)

Tuple Fields

CodeExpression(CodeExpression)

Tuple Fields

CodeFragment(CodeFragment)

Tuple Fields

Delete(Delete)

Tuple Fields

0: Delete

Emphasis(Emphasis)

Tuple Fields

ImageObject(ImageObjectSimple)

Tuple Fields

Tuple Fields

0: Link

MathFragment(MathFragment)

Tuple Fields

NontextualAnnotation(NontextualAnnotation)

Tuple Fields

Note(Note)

Tuple Fields

0: Note

Parameter(Parameter)

Tuple Fields

Quote(Quote)

Tuple Fields

0: Quote

Strong(Strong)

Tuple Fields

0: Strong

Subscript(Subscript)

Tuple Fields

Superscript(Superscript)

Tuple Fields

VideoObject(VideoObjectSimple)

Tuple Fields

Null(Null)

Tuple Fields

0: Null

Boolean(Boolean)

Tuple Fields

Integer(Integer)

Tuple Fields

Number(Number)

Tuple Fields

0: Number

String(String)

Tuple Fields

0: String

Trait Implementations

Performs the conversion.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.