pub enum PickKind<'tcx> {
InherentImplPick,
ObjectPick,
TraitPick,
WhereClausePick(PolyTraitRef<'tcx>),
}
Variants
InherentImplPick
ObjectPick
TraitPick
WhereClausePick(PolyTraitRef<'tcx>)
Trait Implementations
sourceimpl<'tcx> PartialEq<PickKind<'tcx>> for PickKind<'tcx>
impl<'tcx> PartialEq<PickKind<'tcx>> for PickKind<'tcx>
impl<'tcx> Eq for PickKind<'tcx>
impl<'tcx> StructuralEq for PickKind<'tcx>
impl<'tcx> StructuralPartialEq for PickKind<'tcx>
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for PickKind<'tcx>
impl<'tcx> Send for PickKind<'tcx>
impl<'tcx> Sync for PickKind<'tcx>
impl<'tcx> Unpin for PickKind<'tcx>
impl<'tcx> !UnwindSafe for PickKind<'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
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: 24 bytes
Size for each variant:
InherentImplPick
: 0 bytesObjectPick
: 0 bytesTraitPick
: 0 bytesWhereClausePick
: 24 bytes