pub struct DataId(/* private fields */);Expand description
A data object identifier for use in the Module interface.
Implementations§
Trait Implementations§
Source§impl From<DataId> for ModuleRelocTarget
Data identifiers are namespace 1 in ir::ExternalName
impl From<DataId> for ModuleRelocTarget
Data identifiers are namespace 1 in ir::ExternalName
Source§impl Ord for DataId
impl Ord for DataId
Source§impl PartialOrd for DataId
impl PartialOrd for DataId
Source§impl ReservedValue for DataId
impl ReservedValue for DataId
Source§fn reserved_value() -> DataId
fn reserved_value() -> DataId
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 DataId
impl Eq for DataId
impl StructuralPartialEq for DataId
Auto Trait Implementations§
impl Freeze for DataId
impl RefUnwindSafe for DataId
impl Send for DataId
impl Sync for DataId
impl Unpin for DataId
impl UnwindSafe for DataId
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.