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§
Source§impl Clone for ObjectKind
impl Clone for ObjectKind
Source§fn clone(&self) -> ObjectKind
fn clone(&self) -> ObjectKind
Returns a duplicate 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 ObjectKind
impl Debug for ObjectKind
Source§impl From<u16> for ObjectKind
impl From<u16> for ObjectKind
Source§fn from(product: u16) -> ObjectKind
fn from(product: u16) -> ObjectKind
Converts to this type from the input type.
Source§impl PartialEq for ObjectKind
impl PartialEq for ObjectKind
impl Copy for ObjectKind
impl Eq for ObjectKind
impl StructuralPartialEq for ObjectKind
Auto Trait Implementations§
impl Freeze for ObjectKind
impl RefUnwindSafe for ObjectKind
impl Send for ObjectKind
impl Sync for ObjectKind
impl Unpin for ObjectKind
impl UnwindSafe for ObjectKind
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