pub struct BoundMethodObject {
pub receiver: InstanceRef,
pub method: Rc<Object>,
pub name: String,
}Fields§
§receiver: InstanceRef§method: Rc<Object>§name: StringTrait Implementations§
Source§impl Clone for BoundMethodObject
impl Clone for BoundMethodObject
Source§fn clone(&self) -> BoundMethodObject
fn clone(&self) -> BoundMethodObject
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 !RefUnwindSafe for BoundMethodObject
impl !Send for BoundMethodObject
impl !Sync for BoundMethodObject
impl !UnwindSafe for BoundMethodObject
impl Freeze for BoundMethodObject
impl Unpin for BoundMethodObject
impl UnsafeUnpin for BoundMethodObject
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