pub enum Sort {
Func,
Object,
Thread,
File,
Untyped,
}Expand description
What kind of thing a name names, which is what .type says.
Variants§
Func
@function. A call through the procedure linkage table may be made to it.
Object
@object. Data.
Thread
@tls_object. A thread-local variable, which a linker checks relocations against.
File
.file, which names the source this was assembled from rather than anything in it.
Not a thing .type can say, and here because it is a symbol and there is nowhere else for
it. A debugger reads it and so does nm, and gas writes one for every file that says its
own name, which is every file gcc produces.
Untyped
Nothing was said, which is what a plain label gets and is a real answer rather than a
missing one: gas writes STT_NOTYPE for a label nobody stated a type for.
Trait Implementations§
impl Copy for Sort
impl Eq for Sort
impl StructuralPartialEq for Sort
Auto Trait Implementations§
impl Freeze for Sort
impl RefUnwindSafe for Sort
impl Send for Sort
impl Sync for Sort
impl Unpin for Sort
impl UnsafeUnpin for Sort
impl UnwindSafe for Sort
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.