Enum rls_data::DefKind [−][src]
pub enum DefKind {
Enum,
TupleVariant,
StructVariant,
Tuple,
Struct,
Union,
Trait,
Function,
ForeignFunction,
Method,
Macro,
Mod,
Type,
Local,
Static,
ForeignStatic,
Const,
Field,
ExternType,
}Variants
EnumTupleVariantStructVariantTupleStructUnionTraitFunctionForeignFunctionMethodMacroModTypeLocalStaticForeignStaticConstFieldExternType
Trait Implementations
impl Decodable for DefKind[src]
impl Decodable for DefKindfn 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 DefKindfn 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 DefKindfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for DefKind[src]
impl Clone for DefKindfn clone(&self) -> DefKind[src]
fn clone(&self) -> DefKindReturns 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 DefKindimpl PartialEq for DefKind[src]
impl PartialEq for DefKindfn eq(&self, other: &DefKind) -> bool[src]
fn eq(&self, other: &DefKind) -> boolThis 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]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for DefKind[src]
impl Eq for DefKind