Enum syntax::ast::UseTreeKind
[−]
[src]
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Part of use item to the right of its prefix.
Variants
Simple(Option<Ident>)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
use prefix or use prefix as rename
Nested(Vec<(UseTree, NodeId)>)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
use prefix::{...}
Glob🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
use prefix::*
Trait Implementations
impl Clone for UseTreeKind[src]
impl Clone for UseTreeKindfn clone(&self) -> UseTreeKind[src]
fn clone(&self) -> UseTreeKindReturns 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)Performs copy-assignment from source. Read more
impl PartialEq for UseTreeKind[src]
impl PartialEq for UseTreeKindfn eq(&self, __arg_0: &UseTreeKind) -> bool[src]
fn eq(&self, __arg_0: &UseTreeKind) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &UseTreeKind) -> bool[src]
fn ne(&self, __arg_0: &UseTreeKind) -> boolThis method tests for !=.
impl Eq for UseTreeKind[src]
impl Eq for UseTreeKindimpl Encodable for UseTreeKind[src]
impl Encodable for UseTreeKindfn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
impl Decodable for UseTreeKind[src]
impl Decodable for UseTreeKindfn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<UseTreeKind, __D::Error>[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<UseTreeKind, __D::Error>🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
impl Hash for UseTreeKind[src]
impl Hash for UseTreeKindfn hash<__H: Hasher>(&self, __arg_0: &mut __H)[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl Debug for UseTreeKind[src]
impl Debug for UseTreeKindAuto Trait Implementations
impl !Send for UseTreeKind
impl !Send for UseTreeKindimpl !Sync for UseTreeKind
impl !Sync for UseTreeKind