pub struct DocObject {
pub docs: Option<DocString>,
pub members: SmallMap<String, DocMember>,
}
Expand description
An object with named functions/properties.
Fields§
§docs: Option<DocString>
§members: SmallMap<String, DocMember>
Name and details of each member of this object.
Trait Implementations§
source§impl Allocative for DocObject
impl Allocative for DocObject
source§impl PartialEq for DocObject
impl PartialEq for DocObject
impl StructuralPartialEq for DocObject
Auto Trait Implementations§
impl !RefUnwindSafe for DocObject
impl Send for DocObject
impl Sync for DocObject
impl Unpin for DocObject
impl !UnwindSafe for DocObject
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