Enum rls_analysis::DefKind
[−]
[src]
pub enum DefKind {
Enum,
TupleVariant,
StructVariant,
Tuple,
Struct,
Union,
Trait,
Function,
Method,
Macro,
Mod,
Type,
Local,
Static,
Const,
Field,
ExternType,
}Variants
EnumTupleVariantStructVariantTupleStructUnionTraitFunctionMethodMacroModTypeLocalStaticConstFieldExternType
Trait Implementations
impl Copy for DefKind[src]
impl Clone for DefKind[src]
fn clone(&self) -> DefKind[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 Eq for DefKind[src]
impl PartialEq<DefKind> for DefKind[src]
fn eq(&self, __arg_0: &DefKind) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Debug for DefKind[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>[src]
Formats the value using the given formatter.
impl Decodable for DefKind[src]
fn decode<__D>(__arg_0: &mut __D) -> Result<DefKind, <__D as Decoder>::Error> where
__D: Decoder, [src]
__D: Decoder,