pub struct UserExternalName {
pub namespace: u32,
pub index: u32,
}
Expand description
An external name in a user-defined symbol table.
Cranelift does not interpret these numbers in any way, so they can represent arbitrary values.
Fields§
§namespace: u32
Arbitrary.
index: u32
Arbitrary.
Implementations§
Source§impl UserExternalName
impl UserExternalName
Sourcepub fn new(namespace: u32, index: u32) -> Self
pub fn new(namespace: u32, index: u32) -> Self
Creates a new UserExternalName.
Trait Implementations§
Source§impl Clone for UserExternalName
impl Clone for UserExternalName
Source§fn clone(&self) -> UserExternalName
fn clone(&self) -> UserExternalName
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 UserExternalName
impl Debug for UserExternalName
Source§impl Default for UserExternalName
impl Default for UserExternalName
Source§fn default() -> UserExternalName
fn default() -> UserExternalName
Returns the “default value” for a type. Read more
Source§impl Display for UserExternalName
impl Display for UserExternalName
Source§impl Hash for UserExternalName
impl Hash for UserExternalName
Source§impl PartialEq for UserExternalName
impl PartialEq for UserExternalName
impl Eq for UserExternalName
impl StructuralPartialEq for UserExternalName
Auto Trait Implementations§
impl Freeze for UserExternalName
impl RefUnwindSafe for UserExternalName
impl Send for UserExternalName
impl Sync for UserExternalName
impl Unpin for UserExternalName
impl UnwindSafe for UserExternalName
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> 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.