Struct rls_data::Id
[−]
[src]
pub struct Id { pub krate: u32, pub index: u32, }
Fields
krate: u32
index: u32
Trait Implementations
impl Decodable for Id
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Id, __D::Error>
[src]
Deserialize a value using a Decoder
.
impl Encodable for Id
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
[src]
Serialize a value using an Encoder
.
impl Clone for Id
[src]
fn clone(&self) -> Id
[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 Copy for Id
[src]
impl Debug for Id
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for Id
[src]
fn eq(&self, __arg_0: &Id) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Id) -> bool
[src]
This method tests for !=
.