pub struct RdSection<'a> {
pub title: &'a [RdNode],
pub body: &'a [RdNode],
}Expand description
A custom \section{title}{body} node (see RdDocument::sections).
Not the standard, fixed-vocabulary sections (\description, \value,
…) – those are read individually via
RdDocument::title/RdDocument::description/etc.
Fields§
§title: &'a [RdNode]The section’s title, i.e. \section{title}{...}’s first argument
group.
body: &'a [RdNode]The section’s body, i.e. \section{...}{body}’s second argument
group.
Trait Implementations§
impl<'a> Copy for RdSection<'a>
impl<'a> StructuralPartialEq for RdSection<'a>
Auto Trait Implementations§
impl<'a> Freeze for RdSection<'a>
impl<'a> RefUnwindSafe for RdSection<'a>
impl<'a> Send for RdSection<'a>
impl<'a> Sync for RdSection<'a>
impl<'a> Unpin for RdSection<'a>
impl<'a> UnsafeUnpin for RdSection<'a>
impl<'a> UnwindSafe for RdSection<'a>
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