Enum pelite::rich_structure::ObjectKind
source · [−]pub enum ObjectKind {
Unknown,
Link,
Export,
Import,
Resource,
Assembly,
CPP,
C,
}
Expand description
Defines the kinds of objects.
Rich records can identify the product used and with it the ‘language’ of the objects. This allows a mapping of products and the kind of ‘language’ it was generated from.
Variants
Unknown
Link
Export
Exported symbol.
Import
Imported symbol.
Resource
Resource object.
Assembly
Assembly object.
CPP
C++ object.
C
C object.
Trait Implementations
sourceimpl Clone for ObjectKind
impl Clone for ObjectKind
sourcefn clone(&self) -> ObjectKind
fn clone(&self) -> ObjectKind
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ObjectKind
impl Debug for ObjectKind
sourceimpl From<u16> for ObjectKind
impl From<u16> for ObjectKind
sourcefn from(product: u16) -> ObjectKind
fn from(product: u16) -> ObjectKind
Converts to this type from the input type.
sourceimpl PartialEq<ObjectKind> for ObjectKind
impl PartialEq<ObjectKind> for ObjectKind
sourcefn eq(&self, other: &ObjectKind) -> bool
fn eq(&self, other: &ObjectKind) -> bool
impl Copy for ObjectKind
impl Eq for ObjectKind
impl StructuralEq for ObjectKind
impl StructuralPartialEq for ObjectKind
Auto Trait Implementations
impl RefUnwindSafe for ObjectKind
impl Send for ObjectKind
impl Sync for ObjectKind
impl Unpin for ObjectKind
impl UnwindSafe for ObjectKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more