pub struct ClassType<'t> {
pub kind: ClassKind,
pub count: u16,
pub properties: TypeProperties,
pub fields: Option<TypeIndex>,
pub derived_from: Option<TypeIndex>,
pub vtable_shape: Option<TypeIndex>,
pub size: u64,
pub name: RawString<'t>,
pub unique_name: Option<RawString<'t>>,
}
Expand description
The information parsed from a type record with kind
LF_CLASS
, LF_CLASS_ST
, LF_STRUCTURE
, LF_STRUCTURE_ST
or LF_INTERFACE
.
Fields
kind: ClassKind
count: u16
Count of number of elements in this class
properties: TypeProperties
fields: Option<TypeIndex>
Type index which describes the fields of this class
derived_from: Option<TypeIndex>
Type index which describes the class from which this class is derived, if any
vtable_shape: Option<TypeIndex>
Type index which describes the shape of the vtable for this class, if any
size: u64
name: RawString<'t>
Display name of the class including type parameters.
unique_name: Option<RawString<'t>>
Mangled name, if present.
Trait Implementations
impl<'t> Eq for ClassType<'t>
impl<'t> StructuralEq for ClassType<'t>
impl<'t> StructuralPartialEq for ClassType<'t>
Auto Trait Implementations
impl<'t> RefUnwindSafe for ClassType<'t>
impl<'t> Send for ClassType<'t>
impl<'t> Sync for ClassType<'t>
impl<'t> Unpin for ClassType<'t>
impl<'t> UnwindSafe for ClassType<'t>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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