pub enum SectionContent {
Single(LeafSpec),
Anchored(Vec<(String, LeafSpec)>),
}Expand description
A section’s content declaration: a single leaf, or named leaves bound by ^anchor.
Variants§
Single(LeafSpec)
one leaf for the section
Anchored(Vec<(String, LeafSpec)>)
(anchor, leaf) pairs, in declaration order
Auto Trait Implementations§
impl Freeze for SectionContent
impl RefUnwindSafe for SectionContent
impl Send for SectionContent
impl Sync for SectionContent
impl Unpin for SectionContent
impl UnsafeUnpin for SectionContent
impl UnwindSafe for SectionContent
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