Struct rustc_hir_analysis::expr_use_visitor::Projection
source · [−]pub struct Projection<'tcx> {
pub ty: Ty<'tcx>,
pub kind: ProjectionKind,
}
Fields
ty: Ty<'tcx>
Type after the projection is applied.
kind: ProjectionKind
Defines the kind of access made by the projection.
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for Projection<'tcx>
impl<'tcx> Send for Projection<'tcx>
impl<'tcx> Sync for Projection<'tcx>
impl<'tcx> Unpin for Projection<'tcx>
impl<'tcx> !UnwindSafe for Projection<'tcx>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<'tcx, T> IsSuggestable<'tcx> for Twhere
T: TypeVisitable<'tcx>,
impl<'tcx, T> IsSuggestable<'tcx> for Twhere
T: TypeVisitable<'tcx>,
impl<'a, T> Captures<'a> for Twhere
T: ?Sized,
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes