pub struct NativeFunctionObject {
pub function: NativeFn,
pub arity: usize,
pub name_handle: StringHandle,
}Fields§
§function: NativeFn§arity: usize§name_handle: StringHandleTrait Implementations§
Source§impl Clone for NativeFunctionObject
impl Clone for NativeFunctionObject
Auto Trait Implementations§
impl Freeze for NativeFunctionObject
impl RefUnwindSafe for NativeFunctionObject
impl Send for NativeFunctionObject
impl Sync for NativeFunctionObject
impl Unpin for NativeFunctionObject
impl UnsafeUnpin for NativeFunctionObject
impl UnwindSafe for NativeFunctionObject
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