pub enum Spec {
Section(SectionSpec),
Optional(Box<Spec>),
OneOf(OneOfSpec),
Gap(GapSpec),
}Expand description
One element of a level’s ordered content model — the output of the builder functions.
Variants§
Section(SectionSpec)
a declared section
Optional(Box<Spec>)
a slot that may be absent
OneOf(OneOfSpec)
one slot with several accepted spellings
Gap(GapSpec)
a window for unknown sections
Auto Trait Implementations§
impl !RefUnwindSafe for Spec
impl !Send for Spec
impl !Sync for Spec
impl !UnwindSafe for Spec
impl Freeze for Spec
impl Unpin for Spec
impl UnsafeUnpin for Spec
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