pub enum TypeConst {
Builtin(BuiltinTypeId),
User {
name: Symbol,
arity: usize,
},
}Variants§
Implementations§
Trait Implementations§
Source§impl Ord for TypeConst
impl Ord for TypeConst
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for TypeConst
impl PartialOrd for TypeConst
impl Eq for TypeConst
impl StructuralPartialEq for TypeConst
Auto Trait Implementations§
impl Freeze for TypeConst
impl RefUnwindSafe for TypeConst
impl Send for TypeConst
impl Sync for TypeConst
impl Unpin for TypeConst
impl UnsafeUnpin for TypeConst
impl UnwindSafe for TypeConst
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