pub struct DocMember {
pub name: String,
pub declaration: String,
pub comment: String,
pub place: DocPlace,
pub is_method: bool,
pub stages: Vec<String>,
}Expand description
A property or method of a class or object.
Fields§
§name: StringThe property’s name.
declaration: StringThe line that defines it, as the source has it, without its
leading space: isLit = nil, makeOn(stat).
comment: StringThe comment above it, without its comment marks.
place: DocPlaceWhere it is defined.
is_method: boolIts value is code.
stages: Vec<String>It is a handler, dobj Take { ... }: these are the stages it
gives (verify, action), and its name is the handler’s
(dobj Take). Empty for any other member.
Trait Implementations§
Auto Trait Implementations§
impl Forget for DocMember
impl Freeze for DocMember
impl Move for DocMember
impl RefUnwindSafe for DocMember
impl Send for DocMemberwhere
RawVecInner: Send,
impl Sync for DocMemberwhere
RawVecInner: Sync,
impl Unpin for DocMember
impl UnsafeUnpin for DocMemberwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for DocMemberwhere
RawVecInner: UnwindSafe,
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