pub struct Module {
pub id: ModuleId,
pub title: String,
pub overview: String,
pub contracts: Vec<ManualContract>,
}Expand description
A cohesive documentation unit that may span contract families.
Fields§
§id: ModuleIdStable module identifier (ModuleId).
title: StringHuman-readable module title.
overview: StringOverview prose for the module landing page.
contracts: Vec<ManualContract>Contracts belonging to this module.
Trait Implementations§
impl Eq for Module
impl StructuralPartialEq for Module
Auto Trait Implementations§
impl Freeze for Module
impl RefUnwindSafe for Module
impl Send for Module
impl Sync for Module
impl Unpin for Module
impl UnsafeUnpin for Module
impl UnwindSafe for Module
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