pub struct MemberInfo {
pub name: Arc<str>,
pub kind: MemberKind,
pub ty: Option<Union>,
pub visibility: Visibility,
pub is_static: bool,
pub declaring_class: Arc<str>,
pub is_deprecated: bool,
pub params: Vec<FnParam>,
}Expand description
A single member visible on a type.
Fields§
§name: Arc<str>Member name (without $ prefix for properties).
kind: MemberKindWhat kind of member this is.
ty: Option<Union>The resolved type of this member (return type for methods, property type, constant type).
visibility: VisibilityVisibility (public/protected/private).
is_static: boolWhether this is a static member.
declaring_class: Arc<str>The FQCN of the class that declares this member.
is_deprecated: boolWhether this member is deprecated.
params: Vec<FnParam>Method parameters (empty for properties/constants).
Trait Implementations§
Source§impl Clone for MemberInfo
impl Clone for MemberInfo
Source§fn clone(&self) -> MemberInfo
fn clone(&self) -> MemberInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MemberInfo
impl RefUnwindSafe for MemberInfo
impl Send for MemberInfo
impl Sync for MemberInfo
impl Unpin for MemberInfo
impl UnsafeUnpin for MemberInfo
impl UnwindSafe for MemberInfo
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