pub struct FuncId(/* private fields */);Expand description
A function identifier for use in the Module interface.
Implementations§
Trait Implementations§
Source§impl From<FuncId> for ModuleRelocTarget
Function identifiers are namespace 0 in ir::ExternalName
impl From<FuncId> for ModuleRelocTarget
Function identifiers are namespace 0 in ir::ExternalName
Source§impl Ord for FuncId
impl Ord for FuncId
Source§impl PartialOrd for FuncId
impl PartialOrd for FuncId
Source§impl ReservedValue for FuncId
impl ReservedValue for FuncId
Source§fn reserved_value() -> FuncId
fn reserved_value() -> FuncId
Create an instance of the reserved value.
Source§fn is_reserved_value(&self) -> bool
fn is_reserved_value(&self) -> bool
Checks whether value is the reserved one.
impl Copy for FuncId
impl Eq for FuncId
impl StructuralPartialEq for FuncId
Auto Trait Implementations§
impl Freeze for FuncId
impl RefUnwindSafe for FuncId
impl Send for FuncId
impl Sync for FuncId
impl Unpin for FuncId
impl UnwindSafe for FuncId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.