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]
impl Decodable for Relation
fn decode<__D: Decoder>(d: &mut __D) -> Result<Relation, __D::Error>
[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<Relation, __D::Error>
Deserialize a value using a Decoder
.
impl Encodable for Relation
[src]
impl Encodable for Relation
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 Relation
[src]
impl Debug for Relation
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 Relation
[src]
impl Clone for Relation