pub struct PodDoc {
pub name: Option<String>,
pub synopsis: Option<String>,
pub description: Option<String>,
pub methods: HashMap<String, String>,
}Expand description
Extracted POD documentation from a Perl module.
Fields§
§name: Option<String>Module name and optional one-line description from =head1 NAME.
synopsis: Option<String>Usage example from =head1 SYNOPSIS.
description: Option<String>First paragraph of =head1 DESCRIPTION.
methods: HashMap<String, String>Method/function docs keyed by name, from =head2 method_name.
Implementations§
Trait Implementations§
impl Eq for PodDoc
impl StructuralPartialEq for PodDoc
Auto Trait Implementations§
impl Freeze for PodDoc
impl RefUnwindSafe for PodDoc
impl Send for PodDoc
impl Sync for PodDoc
impl Unpin for PodDoc
impl UnsafeUnpin for PodDoc
impl UnwindSafe for PodDoc
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