Struct cranelift_module::FuncId
source · pub struct FuncId(_);
Expand description
A function identifier for use in the Module
interface.
Implementations§
Trait Implementations§
source§impl From<FuncId> for ModuleExtName
impl From<FuncId> for ModuleExtName
Function identifiers are namespace 0 in ir::ExternalName
source§impl Ord for FuncId
impl Ord for FuncId
source§impl PartialEq<FuncId> for FuncId
impl PartialEq<FuncId> for FuncId
source§impl PartialOrd<FuncId> for FuncId
impl PartialOrd<FuncId> for FuncId
1.0.0 · source§fn 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 moresource§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 StructuralEq for FuncId
impl StructuralPartialEq for FuncId
Auto Trait Implementations§
impl RefUnwindSafe for FuncId
impl Send for FuncId
impl Sync for FuncId
impl Unpin for FuncId
impl UnwindSafe for FuncId
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.