Enum rls_data::RefKind [−][src]
pub enum RefKind {
Function,
Mod,
Type,
Variable,
}Variants
FunctionModTypeVariable
Trait Implementations
impl Decodable for RefKind[src]
impl Decodable for RefKindfn 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 RefKindfn 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 RefKindfn 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 RefKind[src]
impl Clone for RefKindfn clone(&self) -> RefKind[src]
fn clone(&self) -> RefKindReturns 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 RefKindimpl PartialEq for RefKind[src]
impl PartialEq for RefKindfn eq(&self, other: &RefKind) -> bool[src]
fn eq(&self, other: &RefKind) -> 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 RefKind[src]
impl Eq for RefKind