pub struct UserExternalName {
pub namespace: u32,
pub index: u32,
}Expand description
An external name in a user-defined symbol table.
Cranelift-style opaque key: asmkit does not interpret namespace or index.
Hosts commonly use separate namespaces for functions vs data, but that
convention is not enforced here.
Fields§
§namespace: u32§index: u32Implementations§
Trait Implementations§
Source§impl Clone for UserExternalName
impl Clone for UserExternalName
Source§fn clone(&self) -> UserExternalName
fn clone(&self) -> UserExternalName
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UserExternalName
Source§impl Debug for UserExternalName
impl Debug for UserExternalName
Source§impl Display for UserExternalName
impl Display for UserExternalName
impl Eq for UserExternalName
Source§impl From<UserExternalName> for ExternalName
impl From<UserExternalName> for ExternalName
Source§fn from(name: UserExternalName) -> Self
fn from(name: UserExternalName) -> Self
Converts to this type from the input type.
Source§impl Hash for UserExternalName
impl Hash for UserExternalName
Source§impl Ord for UserExternalName
impl Ord for UserExternalName
Source§fn cmp(&self, other: &UserExternalName) -> Ordering
fn cmp(&self, other: &UserExternalName) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for UserExternalName
impl PartialEq for UserExternalName
Source§impl PartialOrd for UserExternalName
impl PartialOrd 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 UnsafeUnpin 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