pub struct Class {
pub doc: Doc,
pub is_struct: bool,
pub name: Ident,
pub bases: Vec<Base>,
pub sections: Vec<Section>,
}Expand description
class Name : bases { sections };
Fields§
§doc: DocDocumentation.
is_struct: boolWhether it is written struct rather than class.
name: IdentName.
bases: Vec<Base>Base classes, in written order.
sections: Vec<Section>Access sections, in the order they appear.
A section rather than a per-member access word: the output has
public: once above a run of members, and a tree that stored
access per member would leave the grouping to the renderer.
Trait Implementations§
impl Eq for Class
impl StructuralPartialEq for Class
Auto Trait Implementations§
impl Freeze for Class
impl RefUnwindSafe for Class
impl Send for Class
impl Sync for Class
impl Unpin for Class
impl UnsafeUnpin for Class
impl UnwindSafe for Class
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