pub struct Section {
pub level: u8,
pub heading: String,
pub text: &'static str,
pub own: &'static str,
}Expand description
One ## or ### section of a doc: its heading and its text (heading line included; a
## section’s text runs over its ### ones).
Fields§
§level: u8§heading: String§text: &'static str§own: &'static strJust its own part (up to its first subsection), for search.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Section
impl Freeze for Section
impl Move for Section
impl RefUnwindSafe for Section
impl Send for Section
impl Sync for Sectionwhere
RawVecInner: Sync,
impl Unpin for Section
impl UnsafeUnpin for Section
impl UnwindSafe for Section
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