pub struct TypeInfo {
pub original: Type,
pub adjusted: Option<Type>,
}Fields§
§original: TypeThe original type of the expression or pattern.
adjusted: Option<Type>The adjusted type, if an adjustment happened.
Implementations§
Trait Implementations§
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