Struct rls_data::Relation
[−]
[src]
pub struct Relation { pub span: SpanData, pub kind: RelationKind, pub from: Id, pub to: Id, }
Fields
span: SpanData
kind: RelationKind
from: Id
to: Id
Trait Implementations
impl Decodable for Relation
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Relation, __D::Error>
[src]
Deserialize a value using a Decoder
.
impl Encodable for Relation
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
[src]
Serialize a value using an Encoder
.
impl Debug for Relation
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more