pub struct SectionSpec {
pub names: Vec<String>,
pub opts: Option<SectionOpts>,
}Expand description
A declared section slot: the heading and its aliases, plus options.
Fields§
§names: Vec<String>the heading first, then its aliases; a document may use exactly one of them
opts: Option<SectionOpts>Auto Trait Implementations§
impl !RefUnwindSafe for SectionSpec
impl !Send for SectionSpec
impl !Sync for SectionSpec
impl !UnwindSafe for SectionSpec
impl Freeze for SectionSpec
impl Unpin for SectionSpec
impl UnsafeUnpin for SectionSpec
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