Enum stencila_schema::InlineContent[][src]

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 of AudioObject

0: AudioObjectSimple
Cite(Cite)

Tuple Fields of Cite

0: Cite
CiteGroup(CiteGroup)

Tuple Fields of CiteGroup

0: CiteGroup
CodeExpression(CodeExpression)

Tuple Fields of CodeExpression

0: CodeExpression
CodeFragment(CodeFragment)

Tuple Fields of CodeFragment

0: CodeFragment
Delete(Delete)

Tuple Fields of Delete

0: Delete
Emphasis(Emphasis)

Tuple Fields of Emphasis

0: Emphasis
ImageObject(ImageObjectSimple)

Tuple Fields of ImageObject

0: ImageObjectSimple

Tuple Fields of Link

0: Link
MathFragment(MathFragment)

Tuple Fields of MathFragment

0: MathFragment
NontextualAnnotation(NontextualAnnotation)

Tuple Fields of NontextualAnnotation

0: NontextualAnnotation
Note(Note)

Tuple Fields of Note

0: Note
Parameter(Parameter)

Tuple Fields of Parameter

0: Parameter
Quote(Quote)

Tuple Fields of Quote

0: Quote
Strong(Strong)

Tuple Fields of Strong

0: Strong
Subscript(Subscript)

Tuple Fields of Subscript

0: Subscript
Superscript(Superscript)

Tuple Fields of Superscript

0: Superscript
VideoObject(VideoObjectSimple)

Tuple Fields of VideoObject

0: VideoObjectSimple
Null(Null)

Tuple Fields of Null

0: Null
Boolean(Boolean)

Tuple Fields of Boolean

0: Boolean
Integer(Integer)

Tuple Fields of Integer

0: Integer
Number(Number)

Tuple Fields of Number

0: Number
String(String)

Tuple Fields of String

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)

recently added

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.