Struct rustc_save_analysis::FunctionData [] [src]

pub struct FunctionData {
    pub id: NodeId,
    pub name: String,
    pub qualname: String,
    pub declaration: Option<DefId>,
    pub span: Span,
    pub scope: NodeId,
    pub value: String,
}
Unstable (rustc_private)

Data for all kinds of functions and methods.

Fields

id: NodeId
Unstable (rustc_private)
name: String
Unstable (rustc_private)
qualname: String
Unstable (rustc_private)
declaration: Option<DefId>
Unstable (rustc_private)
span: Span
Unstable (rustc_private)
scope: NodeId
Unstable (rustc_private)
value: String
Unstable (rustc_private)

Trait Implementations

impl Lower for FunctionData
[src]

type Target = FunctionData

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

Derived Implementations

impl Encodable for FunctionData
[src]

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

impl Debug for FunctionData
[src]

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

Formats the value using the given formatter.

impl Clone for FunctionData
[src]

fn clone(&self) -> FunctionData

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