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

🔬 This is a nightly-only experimental API. (rustc_private)
🔬 This is a nightly-only experimental API. (rustc_private)

The span where the default was incurred

🔬 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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'tcx> Debug for Default<'tcx>
[src]

Formats the value using the given formatter.

impl<'tcx> PartialEq for Default<'tcx>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'tcx> Eq for Default<'tcx>
[src]

impl<'tcx> Hash for Default<'tcx>
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl<'a, 'tcx> Lift<'tcx> for Default<'a>
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

🔬 This is a nightly-only experimental API. (rustc_private)