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§
Auto 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