pub struct Member { /* private fields */ }Expand description
A member of a class, resolved the first time it’s used.
Implementations§
Source§impl Member
impl Member
Sourcepub const fn new(
class: &'static str,
name: &'static str,
desc: fn() -> String,
) -> Member
pub const fn new( class: &'static str, name: &'static str, desc: fn() -> String, ) -> Member
Member name of class, desc its descriptor (a method’s
(…)R, a constructor’s (…)V named CONSTRUCTOR, a field’s type).
Sourcepub fn id(&self) -> Option<u32>
pub fn id(&self) -> Option<u32>
Its handle; None when the host has no such member (logged there).
Auto Trait Implementations§
impl !Freeze for Member
impl RefUnwindSafe for Member
impl Send for Member
impl Sync for Member
impl Unpin for Member
impl UnsafeUnpin for Member
impl UnwindSafe for Member
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