Type Alias rustc_middle::query::queries::method_autoderef_steps::Value
source · pub type Value<'tcx> = MethodAutoderefStepsResult<'tcx>;Aliased Type§
struct Value<'tcx> {
pub steps: &'tcx [CandidateStep<'tcx>],
pub opt_bad_ty: Option<&'tcx MethodAutoderefBadTy<'tcx>>,
pub reached_recursion_limit: bool,
}Fields§
§steps: &'tcx [CandidateStep<'tcx>]The valid autoderef steps that could be find.
opt_bad_ty: Option<&'tcx MethodAutoderefBadTy<'tcx>>If Some(T), a type autoderef reported an error on.
reached_recursion_limit: boolIf true, steps has been truncated due to reaching the
recursion limit.
Trait Implementations§
source§impl<'tcx> Clone for MethodAutoderefStepsResult<'tcx>
impl<'tcx> Clone for MethodAutoderefStepsResult<'tcx>
source§fn clone(&self) -> MethodAutoderefStepsResult<'tcx>
fn clone(&self) -> MethodAutoderefStepsResult<'tcx>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<'tcx> Debug for MethodAutoderefStepsResult<'tcx>
impl<'tcx> Debug for MethodAutoderefStepsResult<'tcx>
source§impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for MethodAutoderefStepsResult<'tcx>
impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for MethodAutoderefStepsResult<'tcx>
fn hash_stable( &self, __hcx: &mut StableHashingContext<'__ctx>, __hasher: &mut StableHasher )
impl<'tcx> Copy for MethodAutoderefStepsResult<'tcx>
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:32 bytes