pub struct FunctionHandleIndex(pub TableIndex);
Expand description
Index into the FunctionHandle
table.
Tuple Fields
0: TableIndex
Implementations
sourceimpl FunctionHandleIndex
impl FunctionHandleIndex
Returns an instance of the given Index
.
pub fn new(idx: TableIndex) -> Self
Trait Implementations
sourceimpl Clone for FunctionHandleIndex
impl Clone for FunctionHandleIndex
sourcefn clone(&self) -> FunctionHandleIndex
fn clone(&self) -> FunctionHandleIndex
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FunctionHandleIndex
impl Debug for FunctionHandleIndex
sourceimpl Default for FunctionHandleIndex
impl Default for FunctionHandleIndex
sourcefn default() -> FunctionHandleIndex
fn default() -> FunctionHandleIndex
Returns the “default value” for a type. Read more
sourceimpl Display for FunctionHandleIndex
impl Display for FunctionHandleIndex
sourceimpl Hash for FunctionHandleIndex
impl Hash for FunctionHandleIndex
sourceimpl ModuleIndex for FunctionHandleIndex
impl ModuleIndex for FunctionHandleIndex
sourceimpl Ord for FunctionHandleIndex
impl Ord for FunctionHandleIndex
sourceimpl PartialEq<FunctionHandleIndex> for FunctionHandleIndex
impl PartialEq<FunctionHandleIndex> for FunctionHandleIndex
sourcefn eq(&self, other: &FunctionHandleIndex) -> bool
fn eq(&self, other: &FunctionHandleIndex) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FunctionHandleIndex) -> bool
fn ne(&self, other: &FunctionHandleIndex) -> bool
This method tests for !=
.
sourceimpl PartialOrd<FunctionHandleIndex> for FunctionHandleIndex
impl PartialOrd<FunctionHandleIndex> for FunctionHandleIndex
sourcefn partial_cmp(&self, other: &FunctionHandleIndex) -> Option<Ordering>
fn partial_cmp(&self, other: &FunctionHandleIndex) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for FunctionHandleIndex
impl Eq for FunctionHandleIndex
impl StructuralEq for FunctionHandleIndex
impl StructuralPartialEq for FunctionHandleIndex
Auto Trait Implementations
impl RefUnwindSafe for FunctionHandleIndex
impl Send for FunctionHandleIndex
impl Sync for FunctionHandleIndex
impl Unpin for FunctionHandleIndex
impl UnwindSafe for FunctionHandleIndex
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more