pub struct FnName(pub Ident);Tuple Fields§
§0: IdentImplementations§
Source§impl FnName
impl FnName
pub fn trace_name(&self) -> Ident
pub fn trace_name_static(&self) -> Ident
Sourcepub fn fn_ffi_name(&self) -> Ident
pub fn fn_ffi_name(&self) -> Ident
Get the FFI function name
Sourcepub fn fn_wasm_name(&self) -> Ident
pub fn fn_wasm_name(&self) -> Ident
Get the WASM import name
Sourcepub fn input_struct_name(&self) -> Ident
pub fn input_struct_name(&self) -> Ident
Get the input struct name (if multiple parameters)
Trait Implementations§
Auto Trait Implementations§
impl !Send for FnName
impl !Sync for FnName
impl Freeze for FnName
impl RefUnwindSafe for FnName
impl Unpin for FnName
impl UnsafeUnpin for FnName
impl UnwindSafe for FnName
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