pub struct NativeFunction { /* private fields */ }
Implementations§
Source§impl NativeFunction
impl NativeFunction
pub fn is_equals( &self, other: &Self, interpreter: &mut Interpreter, pos: CodePosition, ) -> bool
pub fn is_strict_equals( &self, other: &Self, interpreter: &mut Interpreter, pos: CodePosition, ) -> bool
pub fn function_body(&self) -> &dyn NativeFunctionAdapter
pub fn lang_parameter_count(&self) -> usize
pub fn is_method(&self) -> bool
Trait Implementations§
Source§impl Debug for NativeFunction
impl Debug for NativeFunction
Source§impl Display for NativeFunction
impl Display for NativeFunction
Source§impl Drop for NativeFunction
impl Drop for NativeFunction
Source§impl Trace for NativeFunction
impl Trace for NativeFunction
Source§fn finalize_glue(&self)
fn finalize_glue(&self)
Runs
Finalize::finalize()
on this object and all
contained subobjectsAuto Trait Implementations§
impl Freeze for NativeFunction
impl !RefUnwindSafe for NativeFunction
impl !Send for NativeFunction
impl !Sync for NativeFunction
impl Unpin for NativeFunction
impl !UnwindSafe for NativeFunction
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