pub enum AliasKind {
Alias,
IFunc,
}Expand description
What an alias resolves to at link time.
Variants§
Alias
A second name for a symbol in this same object, resolved by the assembler.
__attribute__((alias("real"))).
IFunc
A name resolved once at program start by calling a resolver function in this object,
which picks an implementation from what the processor turns out to support.
__attribute__((ifunc("resolver"))), which is how glibc dispatches memcpy.
Implementations§
Trait Implementations§
impl Copy for AliasKind
impl Eq for AliasKind
Source§impl Ord for AliasKind
impl Ord for AliasKind
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for AliasKind
impl PartialOrd for AliasKind
impl StructuralPartialEq for AliasKind
Auto Trait Implementations§
impl Freeze for AliasKind
impl RefUnwindSafe for AliasKind
impl Send for AliasKind
impl Sync for AliasKind
impl Unpin for AliasKind
impl UnsafeUnpin for AliasKind
impl UnwindSafe for AliasKind
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