Enum ezno_checker::behavior::functions::FunctionBehavior
source · pub enum FunctionBehavior {
ArrowFunction {
is_async: bool,
},
Method {
free_this_id: TypeId,
is_async: bool,
is_generator: bool,
},
Function {
free_this_id: TypeId,
is_async: bool,
is_generator: bool,
},
Constructor {
non_super_prototype: Option<TypeId>,
this_object_type: TypeId,
},
}Expand description
TODO different place TODO maybe generic
Variants§
Trait Implementations§
source§impl Clone for FunctionBehavior
impl Clone for FunctionBehavior
source§fn clone(&self) -> FunctionBehavior
fn clone(&self) -> FunctionBehavior
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for FunctionBehavior
impl Send for FunctionBehavior
impl Sync for FunctionBehavior
impl Unpin for FunctionBehavior
impl UnwindSafe for FunctionBehavior
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