pub struct ReactiveFunction {
pub loc: Option<SourceLocation>,
pub id: Option<String>,
pub name_hint: Option<String>,
pub params: Vec<ParamPattern>,
pub generator: bool,
pub is_async: bool,
pub body: ReactiveBlock,
pub directives: Vec<String>,
}Expand description
Tree representation of a compiled function, converted from the CFG-based HIR. TS: ReactiveFunction in HIR.ts
Fields§
§loc: Option<SourceLocation>§id: Option<String>§name_hint: Option<String>§params: Vec<ParamPattern>§generator: bool§is_async: bool§body: ReactiveBlock§directives: Vec<String>Trait Implementations§
Source§impl Clone for ReactiveFunction
impl Clone for ReactiveFunction
Source§fn clone(&self) -> ReactiveFunction
fn clone(&self) -> ReactiveFunction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Freeze for ReactiveFunction
impl RefUnwindSafe for ReactiveFunction
impl Send for ReactiveFunction
impl Sync for ReactiveFunction
impl Unpin for ReactiveFunction
impl UnsafeUnpin for ReactiveFunction
impl UnwindSafe for ReactiveFunction
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