pub enum AbstractClassCheckKind {
TypeQuery(SymbolRef),
Union(Vec<TypeId>),
Intersection(Vec<TypeId>),
NotAbstract,
}Expand description
Classification for checking if a type contains abstract classes.
Variants§
TypeQuery(SymbolRef)
TypeQuery - check if symbol is abstract
Union(Vec<TypeId>)
Union - check if any member is abstract
Intersection(Vec<TypeId>)
Intersection - check if any member is abstract
NotAbstract
Other type - not an abstract class
Trait Implementations§
Source§impl Clone for AbstractClassCheckKind
impl Clone for AbstractClassCheckKind
Source§fn clone(&self) -> AbstractClassCheckKind
fn clone(&self) -> AbstractClassCheckKind
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 AbstractClassCheckKind
impl RefUnwindSafe for AbstractClassCheckKind
impl Send for AbstractClassCheckKind
impl Sync for AbstractClassCheckKind
impl Unpin for AbstractClassCheckKind
impl UnsafeUnpin for AbstractClassCheckKind
impl UnwindSafe for AbstractClassCheckKind
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