pub enum RefType {
Class(ClassRef),
Array(Arc<Type>),
TypeParameter(Id),
Extends(Arc<RefType>),
Super(Arc<RefType>),
Wildcard,
}Variants§
Class(ClassRef)
Array(Arc<Type>)
TypeParameter(Id)
Extends(Arc<RefType>)
Super(Arc<RefType>)
Wildcard
Trait Implementations§
Source§impl Ord for RefType
impl Ord for RefType
Source§impl PartialOrd for RefType
impl PartialOrd for RefType
Source§impl Substitute for RefType
impl Substitute for RefType
fn substitute(&self, subst: &Substitution<'_>) -> Self
impl Eq for RefType
impl StructuralPartialEq for RefType
Auto Trait Implementations§
impl Freeze for RefType
impl RefUnwindSafe for RefType
impl Send for RefType
impl Sync for RefType
impl Unpin for RefType
impl UnwindSafe for RefType
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