Enum rls_data::DefKind [−][src]
pub enum DefKind { Enum, TupleVariant, StructVariant, Tuple, Struct, Union, Trait, Function, Method, Macro, Mod, Type, Local, Static, Const, Field, ExternType, }
Variants
Enum
TupleVariant
StructVariant
Tuple
Struct
Union
Trait
Function
Method
Macro
Mod
Type
Local
Static
Const
Field
ExternType
Trait Implementations
impl Decodable for DefKind
[src]
impl Decodable for DefKind
fn decode<__D: Decoder>(d: &mut __D) -> Result<DefKind, __D::Error>
[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<DefKind, __D::Error>
Deserialize a value using a Decoder
.
impl Encodable for DefKind
[src]
impl Encodable for DefKind
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 DefKind
[src]
impl Debug for DefKind
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 DefKind
[src]
impl Clone for DefKind
fn clone(&self) -> DefKind
[src]
fn clone(&self) -> DefKind
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 DefKind
[src]
impl Copy for DefKind
impl PartialEq for DefKind
[src]
impl PartialEq for DefKind
fn eq(&self, other: &DefKind) -> bool
[src]
fn eq(&self, other: &DefKind) -> 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 DefKind
[src]
impl Eq for DefKind