Struct rustc_typeck::check::method::probe::Pick [−][src]
pub struct Pick<'tcx> {
pub item: AssocItem,
pub kind: PickKind<'tcx>,
pub import_ids: SmallVec<[LocalDefId; 1]>,
pub autoderefs: usize,
pub autoref_or_ptr_adjustment: Option<AutorefOrPtrAdjustment<'tcx>>,
}
Fields
item: AssocItem
kind: PickKind<'tcx>
import_ids: SmallVec<[LocalDefId; 1]>
autoderefs: usize
Indicates that the source expression should be autoderef’d N times
A = expr | *expr | **expr | ...
autoref_or_ptr_adjustment: Option<AutorefOrPtrAdjustment<'tcx>>
Indicates that we want to add an autoref (and maybe also unsize it), or if the receiver is
*mut T
, convert it to *const T
.
Trait Implementations
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for Pick<'tcx>
impl<'tcx> !UnwindSafe for Pick<'tcx>
Blanket Implementations
Mutably borrows from an owned value. Read more
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: 120 bytes