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)
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)
Trait Implementations§
Source§impl AsRef<str> for InlineContent
impl AsRef<str> for InlineContent
Source§impl Clone for InlineContent
impl Clone for InlineContent
Source§fn clone(&self) -> InlineContent
fn clone(&self) -> InlineContent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InlineContent
impl Debug for InlineContent
Source§impl<'de> Deserialize<'de> for InlineContent
impl<'de> Deserialize<'de> for InlineContent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for InlineContent
impl RefUnwindSafe for InlineContent
impl Send for InlineContent
impl Sync for InlineContent
impl Unpin for InlineContent
impl UnwindSafe for InlineContent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more