Struct rls_data::Def
[−]
[src]
pub struct Def { pub kind: DefKind, pub id: Id, pub span: SpanData, pub name: String, pub qualname: String, pub value: String, pub parent: Option<Id>, pub children: Vec<Id>, pub decl_id: Option<Id>, pub docs: String, pub sig: Option<Signature>, pub attributes: Vec<Attribute>, }
Fields
kind: DefKind
id: Id
span: SpanData
name: String
qualname: String
value: String
parent: Option<Id>
children: Vec<Id>
decl_id: Option<Id>
docs: String
sig: Option<Signature>
attributes: Vec<Attribute>
Trait Implementations
impl Debug for Def
[src]
impl Clone for Def
[src]
fn clone(&self) -> Def
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Decodable for Def
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Def, __D::Error>
[src]
Deserialize a value using a Decoder
.