Enum rls_data::ImportKind [−][src]
pub enum ImportKind { ExternCrate, Use, GlobUse, }
Variants
ExternCrate
Use
GlobUse
Trait Implementations
impl Decodable for ImportKind
[src]
impl Decodable for ImportKind
fn decode<__D: Decoder>(d: &mut __D) -> Result<ImportKind, __D::Error>
[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<ImportKind, __D::Error>
Deserialize a value using a Decoder
.
impl Encodable for ImportKind
[src]
impl Encodable for ImportKind
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 ImportKind
[src]
impl Debug for ImportKind
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 ImportKind
[src]
impl Clone for ImportKind
fn clone(&self) -> ImportKind
[src]
fn clone(&self) -> ImportKind
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 ImportKind
[src]
impl Copy for ImportKind
impl PartialEq for ImportKind
[src]
impl PartialEq for ImportKind
fn eq(&self, other: &ImportKind) -> bool
[src]
fn eq(&self, other: &ImportKind) -> 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 ImportKind
[src]
impl Eq for ImportKind
Auto Trait Implementations
impl Send for ImportKind
impl Send for ImportKind
impl Sync for ImportKind
impl Sync for ImportKind