pub enum Container {
Blockquote,
UnorderedList,
OrderedList {
start: i64,
},
Item,
Note {
onym: String,
family: NoteFamily,
margin: bool,
},
}Expand description
The nesting containers an adapter opens and closes explicitly.
Variants§
Blockquote
UnorderedList
OrderedList
start is the first item’s ordinal (Markdown’s 3. lists).
Item
A list item; flavor and taxis come from the enclosing list.
Note
A note body (the noted, ruling #35): opens a note node of
its family at the document root — litogramma’s canonical
document-end placement — holding its own blocks. margin
as on Block::NoteRef.
Trait Implementations§
impl Eq for Container
impl StructuralPartialEq for Container
Auto Trait Implementations§
impl Freeze for Container
impl RefUnwindSafe for Container
impl Send for Container
impl Sync for Container
impl Unpin for Container
impl UnsafeUnpin for Container
impl UnwindSafe for Container
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.