pub struct MemberDefinition { /* private fields */ }Implementations§
Source§impl MemberDefinition
impl MemberDefinition
pub fn new( name: &str, type_constraint: Option<Box<DataTypeConstraint>>, final_flag: bool, member_of_visibility: Visibility, member_of_class: LangObjectRef, ) -> Self
pub fn name(&self) -> &str
pub fn type_constraint(&self) -> Option<&DataTypeConstraint>
pub fn final_flag(&self) -> bool
pub fn member_of_visibility(&self) -> Visibility
pub fn member_of_class(&self) -> &LangObjectRef
Trait Implementations§
Source§impl Debug for MemberDefinition
impl Debug for MemberDefinition
Source§impl Drop for MemberDefinition
impl Drop for MemberDefinition
Source§impl Trace for MemberDefinition
impl Trace for MemberDefinition
Source§fn finalize_glue(&self)
fn finalize_glue(&self)
Runs
Finalize::finalize() on this object and all
contained subobjectsAuto Trait Implementations§
impl !Freeze for MemberDefinition
impl !RefUnwindSafe for MemberDefinition
impl !Send for MemberDefinition
impl !Sync for MemberDefinition
impl Unpin for MemberDefinition
impl !UnwindSafe for MemberDefinition
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