Struct pandoc_types::definition::Pandoc
source · [−]Fields
blocks: Vec<Block>
meta: HashMap<String, MetaValue>
Trait Implementations
sourceimpl<'a> Deserialize<'a> for Pandoc
impl<'a> Deserialize<'a> for Pandoc
sourcefn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'a>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'a>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl<'a> IterBlocks<'a> for Pandoc
impl<'a> IterBlocks<'a> for Pandoc
type Iter = Iter<'a, Block>
type IterMut = IterMut<'a, Block>
sourcefn iter_blocks(&'a self) -> Self::Iter
fn iter_blocks(&'a self) -> Self::Iter
Returns an iterator over the immediately contained blocks.
sourcefn iter_blocks_mut(&'a mut self) -> Self::IterMut
fn iter_blocks_mut(&'a mut self) -> Self::IterMut
Returns an iterator over the immediately contained blocks, allowing each block to be modified.
impl StructuralPartialEq for Pandoc
Auto Trait Implementations
impl RefUnwindSafe for Pandoc
impl Send for Pandoc
impl Sync for Pandoc
impl Unpin for Pandoc
impl UnwindSafe for Pandoc
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more