Struct rustc::infer::type_variable::Default
[−]
[src]
pub struct Default<'tcx> {
pub ty: Ty<'tcx>,
pub origin_span: Span,
pub def_id: DefId,
}🔬 This is a nightly-only experimental API. (
rustc_private)Fields
ty: Ty<'tcx>
🔬 This is a nightly-only experimental API. (
rustc_private)origin_span: Span
🔬 This is a nightly-only experimental API. (
rustc_private)The span where the default was incurred
def_id: DefId
🔬 This is a nightly-only experimental API. (
rustc_private)The definition that the default originates from
Trait Implementations
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
impl<'tcx> Debug 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> Eq for Default<'tcx>[src]
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.