Enum rustc::hir::AssociatedItemKind
[−]
[src]
pub enum AssociatedItemKind { Const, Method { has_self: bool, }, Type, }
🔬 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?
Variants
Const
🔬 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?
Method
🔬 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?
Fields of Method
has_self: bool | 🔬 This is a nightly-only experimental API. ( |
Type
🔬 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?
Trait Implementations
impl Copy for AssociatedItemKind
[src]
impl Copy for AssociatedItemKind
impl Clone for AssociatedItemKind
[src]
impl Clone for AssociatedItemKind
fn clone(&self) -> AssociatedItemKind
[src]
fn clone(&self) -> AssociatedItemKind
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)
Performs copy-assignment from source
. Read more
impl PartialEq for AssociatedItemKind
[src]
impl PartialEq for AssociatedItemKind
fn eq(&self, __arg_0: &AssociatedItemKind) -> bool
[src]
fn eq(&self, __arg_0: &AssociatedItemKind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AssociatedItemKind) -> bool
[src]
fn ne(&self, __arg_0: &AssociatedItemKind) -> bool
This method tests for !=
.
impl Eq for AssociatedItemKind
[src]
impl Eq for AssociatedItemKind
impl Encodable for AssociatedItemKind
[src]
impl Encodable for AssociatedItemKind
fn 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 AssociatedItemKind
[src]
impl Decodable for AssociatedItemKind
fn decode<__D: Decoder>(
__arg_0: &mut __D
) -> Result<AssociatedItemKind, __D::Error>
[src]
fn decode<__D: Decoder>(
__arg_0: &mut __D
) -> Result<AssociatedItemKind, __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 AssociatedItemKind
[src]
impl Hash for AssociatedItemKind
fn 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 AssociatedItemKind
[src]
impl Debug for AssociatedItemKind
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a> HashStable<StableHashingContext<'a>> for AssociatedItemKind
[src]
impl<'a> HashStable<StableHashingContext<'a>> for AssociatedItemKind
fn hash_stable<W: StableHasherResult>(
&self,
hcx: &mut StableHashingContext<'a>,
hasher: &mut StableHasher<W>
)
[src]
fn hash_stable<W: StableHasherResult>(
&self,
hcx: &mut StableHashingContext<'a>,
hasher: &mut StableHasher<W>
)
🔬 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?
Auto Trait Implementations
impl Send for AssociatedItemKind
impl Send for AssociatedItemKind
impl Sync for AssociatedItemKind
impl Sync for AssociatedItemKind