pub struct RoxygenSection(/* private fields */);Implementations§
Source§impl RoxygenSection
impl RoxygenSection
Sourcepub fn tag(&self) -> Option<RoxygenTag>
pub fn tag(&self) -> Option<RoxygenTag>
The tag heading this section, if it is a tag section (@details, …); the
intro section has none.
Sourcepub fn paragraphs(&self) -> impl Iterator<Item = RoxygenParagraph> + '_
pub fn paragraphs(&self) -> impl Iterator<Item = RoxygenParagraph> + '_
The prose paragraphs of this section, in source order.
Trait Implementations§
Source§impl AstNode for RoxygenSection
impl AstNode for RoxygenSection
Source§impl Clone for RoxygenSection
impl Clone for RoxygenSection
Source§impl Debug for RoxygenSection
impl Debug for RoxygenSection
impl Eq for RoxygenSection
Source§impl Hash for RoxygenSection
impl Hash for RoxygenSection
Source§impl PartialEq for RoxygenSection
impl PartialEq for RoxygenSection
impl StructuralPartialEq for RoxygenSection
Auto Trait Implementations§
impl !RefUnwindSafe for RoxygenSection
impl !Send for RoxygenSection
impl !Sync for RoxygenSection
impl !UnwindSafe for RoxygenSection
impl Freeze for RoxygenSection
impl Unpin for RoxygenSection
impl UnsafeUnpin for RoxygenSection
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