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

Trait Implementations

impl Debug for Def
[src]

[src]

Formats the value using the given formatter.

impl Clone for Def
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Decodable for Def
[src]

[src]

Deserialize a value using a Decoder.

impl Encodable for Def
[src]

[src]

Serialize a value using an Encoder.