Struct rustc_save_analysis::MethodData [] [src]

pub struct MethodData {
    pub id: NodeId,
    pub name: String,
    pub qualname: String,
    pub span: Span,
    pub scope: NodeId,
    pub value: String,
}
Unstable (rustc_private)

Data for method declarations (methods with a body are treated as functions).

Fields

id: NodeId
Unstable (rustc_private)
name: String
Unstable (rustc_private)
qualname: String
Unstable (rustc_private)
span: Span
Unstable (rustc_private)
scope: NodeId
Unstable (rustc_private)
value: String
Unstable (rustc_private)

Trait Implementations

impl Lower for MethodData
[src]

type Target = MethodData

fn lower(self, tcx: TyCtxt) -> MethodData

Derived Implementations

impl Encodable for MethodData
[src]

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

impl Debug for MethodData
[src]

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

Formats the value using the given formatter.

impl Clone for MethodData
[src]

fn clone(&self) -> MethodData

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