pub struct FunctionIndex(/* private fields */);
Expand description
FunctionIndex is an identifier for a function, imported, exported, or external. The space of
FunctionIndex is shared for all of these, so FunctionIndex(N)
may identify exported function
#2, FunctionIndex(N + 1)
may identify an internal function, and FunctionIndex(N + 2)
may
identify an imported function.
Implementations§
Source§impl FunctionIndex
impl FunctionIndex
Trait Implementations§
Source§impl Clone for FunctionIndex
impl Clone for FunctionIndex
Source§fn clone(&self) -> FunctionIndex
fn clone(&self) -> FunctionIndex
Returns a copy 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<'de> Deserialize<'de> for FunctionIndex
impl<'de> Deserialize<'de> for FunctionIndex
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<FunctionIndex, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FunctionIndex, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for FunctionIndex
impl Hash for FunctionIndex
Source§impl PartialEq for FunctionIndex
impl PartialEq for FunctionIndex
Source§impl Serialize for FunctionIndex
impl Serialize for FunctionIndex
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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