pub enum Container {
Blockquote,
UnorderedList,
OrderedList {
start: i64,
},
Item,
Note {
onym: String,
family: NoteFamily,
margin: bool,
},
Entry {
taxis: Option<i64>,
onym: Option<String>,
},
Sense {
taxis: Option<i64>,
},
}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): 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.
Entry
The dictionary vocabulary: an entry, the open’s lemma its headword (which registers as its onym unless one is given), the taxis its homograph number.
Sense
A sense under an entry: the taxis its number at its depth, the open’s lemma a gloss-title when the source gives one.
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.