Enum stencila_schema::InlineContent[][src]

pub enum InlineContent {
Show 22 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), Quote(Quote), Strong(Strong), Subscript(Subscript), Superscript(Superscript), VideoObject(VideoObjectSimple), Null, Boolean(Boolean), Integer(Integer), Number(Number), String(String),
}
Expand description

Union type for valid inline content.

Variants

AudioObject

Tuple Fields of AudioObject

0: AudioObjectSimple
Cite

Tuple Fields of Cite

0: Cite
CiteGroup

Tuple Fields of CiteGroup

0: CiteGroup
CodeExpression

Tuple Fields of CodeExpression

0: CodeExpression
CodeFragment

Tuple Fields of CodeFragment

0: CodeFragment
Delete

Tuple Fields of Delete

0: Delete
Emphasis

Tuple Fields of Emphasis

0: Emphasis
ImageObject

Tuple Fields of ImageObject

0: ImageObjectSimple

Tuple Fields of Link

0: Link
MathFragment

Tuple Fields of MathFragment

0: MathFragment
NontextualAnnotation

Tuple Fields of NontextualAnnotation

0: NontextualAnnotation
Note

Tuple Fields of Note

0: Note
Quote

Tuple Fields of Quote

0: Quote
Strong

Tuple Fields of Strong

0: Strong
Subscript

Tuple Fields of Subscript

0: Subscript
Superscript

Tuple Fields of Superscript

0: Superscript
VideoObject

Tuple Fields of VideoObject

0: VideoObjectSimple
Null
Boolean

Tuple Fields of Boolean

0: Boolean
Integer

Tuple Fields of Integer

0: Integer
Number

Tuple Fields of Number

0: Number
String

Tuple Fields of String

0: String

Trait Implementations

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.