pub struct FunctionIndex(pub u32);
Expand description
restrict to this crate
Tuple Fields§
§0: u32
Implementations§
Trait Implementations§
Source§impl Clone for FunctionIndex
impl Clone for FunctionIndex
Source§fn clone(&self) -> FunctionIndex
fn clone(&self) -> FunctionIndex
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 moreSource§impl Debug for FunctionIndex
impl Debug for FunctionIndex
Source§impl Deref for FunctionIndex
impl Deref for FunctionIndex
Source§impl Export<FunctionIndex> for ModuleBuilder
impl Export<FunctionIndex> for ModuleBuilder
fn export<S: Into<String>>( &mut self, name: S, index: FunctionIndex, ) -> ExportIndex
Source§impl Hash for FunctionIndex
impl Hash for FunctionIndex
Source§impl Into<FunctionSpaceIndex> for FunctionIndex
impl Into<FunctionSpaceIndex> for FunctionIndex
Source§fn into(self) -> FunctionSpaceIndex
fn into(self) -> FunctionSpaceIndex
Converts this type into the (usually inferred) input type.
Source§impl Ord for FunctionIndex
impl Ord for FunctionIndex
Source§fn cmp(&self, other: &FunctionIndex) -> Ordering
fn cmp(&self, other: &FunctionIndex) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FunctionIndex
impl PartialEq for FunctionIndex
Source§impl PartialOrd for FunctionIndex
impl PartialOrd for FunctionIndex
impl Copy for FunctionIndex
impl Eq for FunctionIndex
impl StructuralPartialEq for FunctionIndex
Auto Trait Implementations§
impl Freeze for FunctionIndex
impl RefUnwindSafe for FunctionIndex
impl Send for FunctionIndex
impl Sync for FunctionIndex
impl Unpin for FunctionIndex
impl UnwindSafe for FunctionIndex
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