pub enum CodeChunkCaption {
VecBlockContent(Vec<BlockContent>),
String(String),
}
Expand description
Types permitted for the caption
property of a CodeChunk
node.
Variants§
VecBlockContent(Vec<BlockContent>)
String(String)
Trait Implementations§
Source§impl AsRef<str> for CodeChunkCaption
impl AsRef<str> for CodeChunkCaption
Source§impl Clone for CodeChunkCaption
impl Clone for CodeChunkCaption
Source§fn clone(&self) -> CodeChunkCaption
fn clone(&self) -> CodeChunkCaption
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 CodeChunkCaption
impl Debug for CodeChunkCaption
Source§impl<'de> Deserialize<'de> for CodeChunkCaption
impl<'de> Deserialize<'de> for CodeChunkCaption
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 CodeChunkCaption
impl RefUnwindSafe for CodeChunkCaption
impl Send for CodeChunkCaption
impl Sync for CodeChunkCaption
impl Unpin for CodeChunkCaption
impl UnwindSafe for CodeChunkCaption
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