Struct HirType
pub struct HirType {
pub mode: OwnershipMode,
pub ty: TypeExpr,
}Expand description
Type reference attached to HIR parameters and return values.
Fields§
§mode: OwnershipModeOwnership mode attached to the type.
ty: TypeExprSource-level type expression.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HirType
impl RefUnwindSafe for HirType
impl Send for HirType
impl Sync for HirType
impl Unpin for HirType
impl UnwindSafe for HirType
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