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 Defaultness
impl Clone for Defaultness
[src]
impl Clone for Defaultness
fn clone(&self) -> Defaultness
[src]
fn clone(&self) -> Defaultness
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 Defaultness
[src]
impl PartialEq for Defaultness
fn eq(&self, other: &Defaultness) -> bool
[src]
fn eq(&self, other: &Defaultness) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Encodable for Defaultness
[src]
impl Encodable for Defaultness
fn 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 Defaultness
fn 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 Debug for Defaultness
[src]
impl Debug for Defaultness
Auto Trait Implementations
impl Send for Defaultness
impl Send for Defaultness
impl Sync for Defaultness
impl Sync for Defaultness