pub enum NoteContent {
Inline(Vec<InlineElement>),
Block(Vec<BlockElement>),
}Expand description
Note content (block or inline)
Variants§
Trait Implementations§
Source§impl Clone for NoteContent
impl Clone for NoteContent
Source§fn clone(&self) -> NoteContent
fn clone(&self) -> NoteContent
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 NoteContent
impl Debug for NoteContent
Source§impl<'de> Deserialize<'de> for NoteContent
impl<'de> Deserialize<'de> for NoteContent
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 NoteContent
impl PartialEq for NoteContent
Source§impl Serialize for NoteContent
impl Serialize for NoteContent
impl StructuralPartialEq for NoteContent
Auto Trait Implementations§
impl Freeze for NoteContent
impl RefUnwindSafe for NoteContent
impl Send for NoteContent
impl Sync for NoteContent
impl Unpin for NoteContent
impl UnwindSafe for NoteContent
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