Struct rustc::infer::type_variable::Default
[−]
[src]
pub struct Default<'tcx> {
pub ty: Ty<'tcx>,
pub origin_span: Span,
pub def_id: DefId,
}Unstable (
rustc_private)Fields
ty: Ty<'tcx>
Unstable (
rustc_private)origin_span: Span
Unstable (
rustc_private)The span where the default was incurred
def_id: DefId
Unstable (
rustc_private)The definition that the default originates from
Trait Implementations
impl<'a, 'tcx> Lift<'tcx> for Default<'a>[src]
type Lifted = Default<'tcx>
fn lift_to_tcx<'b, 'gcx>(&self, tcx: TyCtxt<'b, 'gcx, 'tcx>) -> Option<Self::Lifted>
Derived Implementations
impl<'tcx> Hash for Default<'tcx>[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl<'tcx> Eq for Default<'tcx>[src]
impl<'tcx> PartialEq for Default<'tcx>[src]
fn eq(&self, __arg_0: &Default<'tcx>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Default<'tcx>) -> bool
This method tests for !=.
impl<'tcx> Debug for Default<'tcx>[src]
impl<'tcx> Clone for Default<'tcx>[src]
fn clone(&self) -> Default<'tcx>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more