pub struct Type {
pub span: Span,
pub kind: TypeKind,
}Fields§
§span: Span§kind: TypeKindImplementations§
Source§impl Type
impl Type
pub fn hash_unspanned<H>(&self, state: &mut H)where
H: Hasher,
pub fn eq_unspanned(&self, other: &Self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Type
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