pub trait IterBlocks<'a> {
    type Iter: Iterator<Item = &'a Block>;
    type IterMut: Iterator<Item = &'a mut Block>;
    fn iter_blocks(&'a self) -> Self::Iter;
fn iter_blocks_mut(&'a mut self) -> Self::IterMut; }
Expand description

A trait to iterate over the immediately contained blocks in a type.

Associated Types

Required methods

Returns an iterator over the immediately contained blocks.

Returns an iterator over the immediately contained blocks, allowing each block to be modified.

Implementors

Currently only yields blocks for Inline::Note.