pub struct BoundMethodObject {
pub receiver: Value,
pub closure: ClosureHandle,
pub is_marked: bool,
}Fields§
§receiver: Value§closure: ClosureHandle§is_marked: boolImplementations§
Source§impl BoundMethodObject
impl BoundMethodObject
pub fn new(receiver: Value, closure: ClosureHandle) -> Self
Trait Implementations§
Source§impl Clone for BoundMethodObject
impl Clone for BoundMethodObject
Source§impl Debug for BoundMethodObject
impl Debug for BoundMethodObject
Source§impl Default for BoundMethodObject
impl Default for BoundMethodObject
Source§impl PartialEq for BoundMethodObject
impl PartialEq for BoundMethodObject
impl StructuralPartialEq for BoundMethodObject
Auto Trait Implementations§
impl Freeze for BoundMethodObject
impl RefUnwindSafe for BoundMethodObject
impl Send for BoundMethodObject
impl Sync for BoundMethodObject
impl Unpin for BoundMethodObject
impl UnsafeUnpin for BoundMethodObject
impl UnwindSafe 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