Enum syntax::ast::Defaultness [−][src]
pub enum Defaultness {
Default,
Final,
}🔬 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
Default🔬 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?
Final🔬 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 Defaultness[src]
impl Copy for Defaultnessimpl Clone for Defaultness[src]
impl Clone for Defaultnessfn clone(&self) -> Defaultness[src]
fn clone(&self) -> DefaultnessReturns 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 Defaultness[src]
impl PartialEq for Defaultnessfn eq(&self, other: &Defaultness) -> bool[src]
fn eq(&self, other: &Defaultness) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl Eq for Defaultness[src]
impl Eq for Defaultnessfn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)impl Encodable for Defaultness[src]
impl Encodable for Defaultnessfn 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 Defaultness[src]
impl Decodable for Defaultnessfn decode<__D: Decoder>(d: &mut __D) -> Result<Defaultness, __D::Error>[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<Defaultness, __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 Defaultness[src]
impl Hash for Defaultnessfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &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 Defaultness[src]
impl Debug for DefaultnessAuto Trait Implementations
impl Send for Defaultness
impl Send for Defaultnessimpl Sync for Defaultness
impl Sync for Defaultness