pub enum ParaContent {
Text(String),
Bold(Bold),
Italic(Italic),
Underline(Underline),
Subscript(Subscript),
Superscript(Superscript),
Monospace(Monospace),
XRef(XRef),
Link(Link),
Image(Image),
}Variants§
Text(String)
Bold(Bold)
Italic(Italic)
Underline(Underline)
Subscript(Subscript)
Superscript(Superscript)
Monospace(Monospace)
XRef(XRef)
Link(Link)
Image(Image)
Trait Implementations§
Source§impl Clone for ParaContent
impl Clone for ParaContent
Source§fn clone(&self) -> ParaContent
fn clone(&self) -> ParaContent
Returns a duplicate 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 ParaContent
impl Debug for ParaContent
Source§impl<'de> Deserialize<'de> for ParaContent
impl<'de> Deserialize<'de> for ParaContent
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
Source§impl PartialEq for ParaContent
impl PartialEq for ParaContent
Source§impl Serialize for ParaContent
impl Serialize for ParaContent
impl Eq for ParaContent
impl StructuralPartialEq for ParaContent
Auto Trait Implementations§
impl Freeze for ParaContent
impl RefUnwindSafe for ParaContent
impl Send for ParaContent
impl Sync for ParaContent
impl Unpin for ParaContent
impl UnwindSafe for ParaContent
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