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 Decodable for Def
[src]
impl Decodable for Def
fn decode<__D: Decoder>(d: &mut __D) -> Result<Def, __D::Error>
[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<Def, __D::Error>
Deserialize a value using a Decoder
.
impl Encodable for Def
[src]
impl Encodable for Def
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>
[src]
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>
Serialize a value using an Encoder
.
impl Debug for Def
[src]
impl Debug for Def
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Def
[src]
impl Clone for Def