pub struct Type(/* private fields */);
Trait Implementations§
source§impl From<Type> for DiagMsgPart
impl From<Type> for DiagMsgPart
source§fn from(original: Type) -> DiagMsgPart
fn from(original: Type) -> DiagMsgPart
Converts to this type from the input type.
source§impl InternInCx<Type> for TypeKind
impl InternInCx<Type> for TypeKind
fn intern_in_cx(self, cx: &Context) -> Type
source§impl PartialEq for Type
impl PartialEq for Type
impl Copy for Type
impl Eq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.