pub struct FunctionRecord {
pub scope: u32,
pub bytecode: u32,
pub native: u32,
pub home_object: u32,
pub fields: u32,
}Expand description
The payload of a Function object.
Fields§
§scope: u32The captured scope object, or NONE.
bytecode: u32A FunctionBytecode index, or NONE.
native: u32§home_object: u32The home object of a method that uses super, or NONE.
fields: u32A class constructor’s instance-field initializer function, or
NONE.
Trait Implementations§
Source§impl Clone for FunctionRecord
impl Clone for FunctionRecord
impl Copy for FunctionRecord
Source§impl Debug for FunctionRecord
impl Debug for FunctionRecord
Auto Trait Implementations§
impl Freeze for FunctionRecord
impl RefUnwindSafe for FunctionRecord
impl Send for FunctionRecord
impl Sync for FunctionRecord
impl Unpin for FunctionRecord
impl UnsafeUnpin for FunctionRecord
impl UnwindSafe for FunctionRecord
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