Enum ObjectKind
enum ObjectKind
An object kind.
Returned by Object::kind.
Variants
-
Unknown The object kind is unknown.
-
Relocatable Relocatable object.
-
Executable Executable.
-
Dynamic Dynamic shared object.
-
Core Core.
Implementations
impl Clone for ObjectKind
fn clone(self: &Self) -> ObjectKind
impl Copy for ObjectKind
impl Debug for ObjectKind
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Eq for ObjectKind
impl Freeze for ObjectKind
impl Hash for ObjectKind
fn hash<__H: $crate::hash::Hasher>(self: &Self, state: &mut __H)
impl PartialEq for ObjectKind
fn eq(self: &Self, other: &ObjectKind) -> bool
impl RefUnwindSafe for ObjectKind
impl Send for ObjectKind
impl StructuralPartialEq for ObjectKind
impl Sync for ObjectKind
impl Unpin for ObjectKind
impl UnwindSafe for ObjectKind
impl<T> Any for ObjectKind
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for ObjectKind
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for ObjectKind
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for ObjectKind
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for ObjectKind
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for ObjectKind
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for ObjectKind
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for ObjectKind
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for ObjectKind
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>