pub enum KnownSymbol {
ElfGlobalOffsetTable,
CoffTlsIndex,
}
Expand description
A well-known symbol.
Variants§
ElfGlobalOffsetTable
ELF well-known linker symbol GLOBAL_OFFSET_TABLE
CoffTlsIndex
TLS index symbol for the current thread. Used in COFF/PE file formats.
Trait Implementations§
source§impl Clone for KnownSymbol
impl Clone for KnownSymbol
source§fn clone(&self) -> KnownSymbol
fn clone(&self) -> KnownSymbol
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 KnownSymbol
impl Debug for KnownSymbol
source§impl Display for KnownSymbol
impl Display for KnownSymbol
source§impl FromStr for KnownSymbol
impl FromStr for KnownSymbol
source§impl Hash for KnownSymbol
impl Hash for KnownSymbol
source§impl PartialEq for KnownSymbol
impl PartialEq for KnownSymbol
impl Copy for KnownSymbol
impl Eq for KnownSymbol
impl StructuralPartialEq for KnownSymbol
Auto Trait Implementations§
impl Freeze for KnownSymbol
impl RefUnwindSafe for KnownSymbol
impl Send for KnownSymbol
impl Sync for KnownSymbol
impl Unpin for KnownSymbol
impl UnwindSafe for KnownSymbol
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.