pub enum ClassDeclTypeKind {
Object(ObjectShapeId),
Members(Vec<TypeId>),
NotObject,
}Expand description
Classification for extracting class declarations from types.
Variants§
Object(ObjectShapeId)
Object type with properties (may have brand)
Members(Vec<TypeId>)
Union/Intersection - check all members
NotObject
Not an object type
Trait Implementations§
Source§impl Clone for ClassDeclTypeKind
impl Clone for ClassDeclTypeKind
Source§fn clone(&self) -> ClassDeclTypeKind
fn clone(&self) -> ClassDeclTypeKind
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 moreAuto Trait Implementations§
impl Freeze for ClassDeclTypeKind
impl RefUnwindSafe for ClassDeclTypeKind
impl Send for ClassDeclTypeKind
impl Sync for ClassDeclTypeKind
impl Unpin for ClassDeclTypeKind
impl UnsafeUnpin for ClassDeclTypeKind
impl UnwindSafe for ClassDeclTypeKind
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