pub struct DocModule {
pub docs: Option<DocString>,
pub members: SmallMap<String, DocMember>,
}
Expand description
Documents a full module.
Fields§
§docs: Option<DocString>
In general, this should be the first statement of a loaded file, if that statement is a string literal.
members: SmallMap<String, DocMember>
A mapping of top level symbols to their documentation, if any.
Trait Implementations§
source§impl Allocative for DocModule
impl Allocative for DocModule
source§impl PartialEq for DocModule
impl PartialEq for DocModule
impl StructuralPartialEq for DocModule
Auto Trait Implementations§
impl !RefUnwindSafe for DocModule
impl Send for DocModule
impl Sync for DocModule
impl Unpin for DocModule
impl !UnwindSafe for DocModule
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