Enum rls_data::RefKind [−][src]
pub enum RefKind { Function, Mod, Type, Variable, }
Variants
Function
Mod
Type
Variable
Trait Implementations
impl Decodable for RefKind
[src]
impl Decodable for RefKind
fn decode<__D: Decoder>(d: &mut __D) -> Result<RefKind, __D::Error>
[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<RefKind, __D::Error>
Deserialize a value using a Decoder
.
impl Encodable for RefKind
[src]
impl Encodable for RefKind
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 RefKind
[src]
impl Debug for RefKind
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 RefKind
[src]
impl Clone for RefKind
fn clone(&self) -> RefKind
[src]
fn clone(&self) -> RefKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for RefKind
[src]
impl Copy for RefKind
impl PartialEq for RefKind
[src]
impl PartialEq for RefKind
fn eq(&self, other: &RefKind) -> bool
[src]
fn eq(&self, other: &RefKind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for RefKind
[src]
impl Eq for RefKind