pub struct Numbering {
pub num_to_abstract: HashMap<u32, u32>,
pub abstract_nums: HashMap<u32, AbstractNum>,
}Expand description
Top-level numbering definitions parsed from word/numbering.xml.
OOXML numbering has two layers:
- abstractNum defines the formatting for each indentation level.
- num maps a
numId(referenced by paragraphs) to anabstractNumId.
This struct provides lookup to resolve a (numId, ilvl)
pair to the corresponding Level information.
Fields§
§num_to_abstract: HashMap<u32, u32>Maps numId -> abstractNumId.
abstract_nums: HashMap<u32, AbstractNum>Maps abstractNumId -> its level definitions.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Numbering
impl RefUnwindSafe for Numbering
impl Send for Numbering
impl Sync for Numbering
impl Unpin for Numbering
impl UnsafeUnpin for Numbering
impl UnwindSafe for Numbering
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