Struct rustc_save_analysis::external_data::VariableRefData [] [src]

pub struct VariableRefData {
    pub name: String,
    pub span: SpanData,
    pub scope: DefId,
    pub ref_id: DefId,
}
Unstable (rustc_private)

Data for the use of some item (e.g., the use of a local variable, which will refer to that variables declaration (by ref_id)).

Fields

name: String
Unstable (rustc_private)
span: SpanData
Unstable (rustc_private)
scope: DefId
Unstable (rustc_private)
ref_id: DefId
Unstable (rustc_private)

Trait Implementations

Derived Implementations

impl Encodable for VariableRefData
[src]

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Debug for VariableRefData
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.