Enum rustc::hir::AssociatedItemKind [−][src]
pub enum AssociatedItemKind {
Const,
Method {
has_self: bool,
},
Type,
Existential,
}🔬 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?
Existential🔬 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 AssociatedItemKindimpl Clone for AssociatedItemKind[src]
impl Clone for AssociatedItemKindfn clone(&self) -> AssociatedItemKind[src]
fn clone(&self) -> AssociatedItemKindReturns 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 AssociatedItemKindfn eq(&self, other: &AssociatedItemKind) -> bool[src]
fn eq(&self, other: &AssociatedItemKind) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &AssociatedItemKind) -> bool[src]
fn ne(&self, other: &AssociatedItemKind) -> boolThis method tests for !=.
impl Encodable for AssociatedItemKind[src]
impl Encodable for AssociatedItemKindfn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>[src]
fn encode<__S: Encoder>(&self, s: &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 AssociatedItemKindfn decode<__D: Decoder>(d: &mut __D) -> Result<AssociatedItemKind, __D::Error>[src]
fn decode<__D: Decoder>(d: &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 Debug for AssociatedItemKind[src]
impl Debug for AssociatedItemKindfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'a> HashStable<StableHashingContext<'a>> for AssociatedItemKind[src]
impl<'a> HashStable<StableHashingContext<'a>> for AssociatedItemKindfn 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 AssociatedItemKindimpl Sync for AssociatedItemKind
impl Sync for AssociatedItemKind