Enum rls_data::DefKind
[−]
[src]
pub enum DefKind { Enum, Tuple, Struct, Union, Trait, Function, Method, Macro, Mod, Type, Local, Static, Const, Field, }
Variants
Enum
Tuple
Struct
Union
Trait
Function
Method
Macro
Mod
Type
Local
Static
Const
Field
Trait Implementations
impl Debug for DefKind
[src]
impl Decodable for DefKind
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<DefKind, __D::Error>
Deserialize a value using a Decoder
.
impl Encodable for DefKind
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
Serialize a value using an Encoder
.
impl Clone for DefKind
[src]
fn clone(&self) -> DefKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for DefKind
[src]
impl PartialEq for DefKind
[src]
fn eq(&self, __arg_0: &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
This method tests for !=
.