Enum rustc_hir_typeck::method::probe::PickKind
source · pub enum PickKind<'tcx> {
InherentImplPick,
ObjectPick,
TraitPick,
WhereClausePick(PolyTraitRef<'tcx>),
}
Variants§
Trait Implementations§
source§impl<'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§
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