pub struct OutlinedFunctionEntry {
pub func: HirFunction,
pub fn_type: Option<ReactFunctionType>,
}Expand description
An outlined function entry, stored on Environment during compilation.
Corresponds to TS { fn: HIRFunction, type: ReactFunctionType | null }.
Fields§
§func: HirFunction§fn_type: Option<ReactFunctionType>Trait Implementations§
Source§impl Clone for OutlinedFunctionEntry
impl Clone for OutlinedFunctionEntry
Source§fn clone(&self) -> OutlinedFunctionEntry
fn clone(&self) -> OutlinedFunctionEntry
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 OutlinedFunctionEntry
impl RefUnwindSafe for OutlinedFunctionEntry
impl Send for OutlinedFunctionEntry
impl Sync for OutlinedFunctionEntry
impl Unpin for OutlinedFunctionEntry
impl UnsafeUnpin for OutlinedFunctionEntry
impl UnwindSafe for OutlinedFunctionEntry
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