pub struct HelperMapping {
pub name: &'static str,
pub babel: &'static str,
pub swc: &'static str,
pub params: &'static [(&'static str, &'static str)],
pub return_type: &'static str,
}Expand description
Helper function mapping
Fields§
§name: &'static strHelper name in ReluxScript
babel: &'static strBabel implementation
swc: &'static strSWC implementation
params: &'static [(&'static str, &'static str)]Parameters
return_type: &'static strReturn type
Trait Implementations§
Source§impl Clone for HelperMapping
impl Clone for HelperMapping
Source§fn clone(&self) -> HelperMapping
fn clone(&self) -> HelperMapping
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 moreAuto Trait Implementations§
impl Freeze for HelperMapping
impl RefUnwindSafe for HelperMapping
impl Send for HelperMapping
impl Sync for HelperMapping
impl Unpin for HelperMapping
impl UnwindSafe for HelperMapping
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