pub enum TypeKind {
Enum,
Record,
Module,
Interface,
Dispatch,
CoClass,
Alias,
Union,
Unknown(u8),
}Expand description
The kind of a TypeInfo entry (low 4 bits of the typekind field).
Mirrors the TYPEKIND enum from the OLE Automation specification.
Variants§
Enum
TKIND_ENUM (0) – An enumeration of named constants.
Record
TKIND_RECORD (1) – A C-style struct / UDT.
Module
TKIND_MODULE (2) – A module containing global functions and constants.
Interface
TKIND_INTERFACE (3) – A COM vtable-based interface.
Dispatch
TKIND_DISPATCH (4) – A COM IDispatch-based interface.
CoClass
TKIND_COCLASS (5) – A COM coclass aggregating one or more interfaces.
Alias
TKIND_ALIAS (6) – A typedef alias for another type.
Union
TKIND_UNION (7) – A C-style union.
Unknown(u8)
An unrecognised type kind value.
Implementations§
Trait Implementations§
impl Copy for TypeKind
impl Eq for TypeKind
impl StructuralPartialEq for TypeKind
Auto Trait Implementations§
impl Freeze for TypeKind
impl RefUnwindSafe for TypeKind
impl Send for TypeKind
impl Sync for TypeKind
impl Unpin for TypeKind
impl UnsafeUnpin for TypeKind
impl UnwindSafe for TypeKind
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