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
Auto 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