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]
impl Debug for MethodData
[src]
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