pub struct ExportedFunction { /* private fields */ }Expand description
Exported function metadata.
Implementations§
Source§impl ExportedFunction
impl ExportedFunction
Sourcepub const fn new(name: ExportName, index: u32) -> Self
pub const fn new(name: ExportName, index: u32) -> Self
Creates exported function metadata.
Sourcepub const fn name(&self) -> &ExportName
pub const fn name(&self) -> &ExportName
Returns the export name.
Trait Implementations§
Source§impl Clone for ExportedFunction
impl Clone for ExportedFunction
Source§fn clone(&self) -> ExportedFunction
fn clone(&self) -> ExportedFunction
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 moreSource§impl Debug for ExportedFunction
impl Debug for ExportedFunction
Source§impl Hash for ExportedFunction
impl Hash for ExportedFunction
Source§impl PartialEq for ExportedFunction
impl PartialEq for ExportedFunction
Source§fn eq(&self, other: &ExportedFunction) -> bool
fn eq(&self, other: &ExportedFunction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ExportedFunction
impl StructuralPartialEq for ExportedFunction
Auto Trait Implementations§
impl Freeze for ExportedFunction
impl RefUnwindSafe for ExportedFunction
impl Send for ExportedFunction
impl Sync for ExportedFunction
impl Unpin for ExportedFunction
impl UnsafeUnpin for ExportedFunction
impl UnwindSafe for ExportedFunction
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