Struct cranelift_module::FuncId
source · 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
impl From<FuncId> for ModuleRelocTarget
Function identifiers are namespace 0 in ir::ExternalName
source§impl Ord for FuncId
impl Ord for FuncId
source§impl PartialEq for FuncId
impl PartialEq for FuncId
source§impl PartialOrd for FuncId
impl PartialOrd 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<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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more