pub struct InternalFunction { /* private fields */ }
Implementations§
Source§impl InternalFunction
impl InternalFunction
pub fn new(function: Gc<Function>) -> Self
pub fn is_accessible(&self, accessing_class: Option<&LangObjectRef>) -> bool
pub fn to_function_signature_string(&self) -> String
pub fn lang_path(&self) -> Option<&str>
pub fn lang_file(&self) -> Option<&str>
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 super_level(&self) -> Option<usize>
pub fn function(&self) -> &Function
pub fn member_of_class(&self) -> Option<&LangObjectRef>
pub fn member_visibility(&self) -> Option<Visibility>
Trait Implementations§
Source§impl Clone for InternalFunction
impl Clone for InternalFunction
Source§fn clone(&self) -> InternalFunction
fn clone(&self) -> InternalFunction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InternalFunction
impl Debug for InternalFunction
Source§impl Drop for InternalFunction
impl Drop for InternalFunction
Source§impl Trace for InternalFunction
impl Trace for InternalFunction
Source§fn finalize_glue(&self)
fn finalize_glue(&self)
Runs
Finalize::finalize()
on this object and all
contained subobjectsAuto Trait Implementations§
impl !Freeze for InternalFunction
impl !RefUnwindSafe for InternalFunction
impl !Send for InternalFunction
impl !Sync for InternalFunction
impl Unpin for InternalFunction
impl !UnwindSafe for InternalFunction
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