pub struct TypeInfo {
pub span: Option<Span>,
pub kind: TypeKind,
}
Fields§
§span: Option<Span>
§kind: TypeKind
Trait Implementations§
source§impl Ord for TypeInfo
impl Ord for TypeInfo
source§impl PartialEq for TypeInfo
impl PartialEq for TypeInfo
source§impl PartialOrd for TypeInfo
impl PartialOrd for TypeInfo
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for TypeInfo
impl StructuralEq for TypeInfo
Auto Trait Implementations§
impl RefUnwindSafe for TypeInfo
impl Send for TypeInfo
impl Sync for TypeInfo
impl Unpin for TypeInfo
impl UnwindSafe for TypeInfo
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