Struct boa::js::function::RegularFunction
source · pub struct RegularFunction {
pub object: ObjectData,
pub expr: Expr,
pub args: Vec<String>,
}
Expand description
Represents a regular javascript function in memory
Fields
object: ObjectData
The fields associated with the function
expr: Expr
This function’s expression
args: Vec<String>
The argument names of the function
Implementations
Trait Implementations
sourceimpl Clone for RegularFunction
impl Clone for RegularFunction
sourcefn clone(&self) -> RegularFunction
fn clone(&self) -> RegularFunction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RegularFunction
impl Debug for RegularFunction
sourceimpl Drop for RegularFunction
impl Drop for RegularFunction
sourceimpl Finalize for RegularFunction
impl Finalize for RegularFunction
sourceimpl Trace for RegularFunction
impl Trace for RegularFunction
sourcefn finalize_glue(&self)
fn finalize_glue(&self)
Runs Finalize::finalize() on this object and all
contained subobjects Read more
Auto Trait Implementations
impl !RefUnwindSafe for RegularFunction
impl !Send for RegularFunction
impl !Sync for RegularFunction
impl Unpin for RegularFunction
impl !UnwindSafe for RegularFunction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more