Struct syntax::attr::builtin::Deprecation [−][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?
Fields
since: Option<Symbol>
🔬 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?
note: Option<Symbol>
🔬 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 Encodable for Deprecation
[src]
impl Encodable for Deprecation
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 Deprecation
[src]
impl Decodable for Deprecation
fn decode<__D: Decoder>(d: &mut __D) -> Result<Deprecation, __D::Error>
[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<Deprecation, __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 PartialEq for Deprecation
[src]
impl PartialEq for Deprecation
fn eq(&self, other: &Deprecation) -> bool
[src]
fn eq(&self, other: &Deprecation) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Deprecation) -> bool
[src]
fn ne(&self, other: &Deprecation) -> bool
This method tests for !=
.
impl PartialOrd for Deprecation
[src]
impl PartialOrd for Deprecation
fn partial_cmp(&self, other: &Deprecation) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Deprecation) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Deprecation) -> bool
[src]
fn lt(&self, other: &Deprecation) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Deprecation) -> bool
[src]
fn le(&self, other: &Deprecation) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Deprecation) -> bool
[src]
fn gt(&self, other: &Deprecation) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Deprecation) -> bool
[src]
fn ge(&self, other: &Deprecation) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Clone for Deprecation
[src]
impl Clone for Deprecation
fn clone(&self) -> Deprecation
[src]
fn clone(&self) -> Deprecation
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 Debug for Deprecation
[src]
impl Debug for Deprecation
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for Deprecation
[src]
impl Eq for Deprecation
fn assert_receiver_is_total_eq(&self)
[src]
fn assert_receiver_is_total_eq(&self)
impl Hash for Deprecation
[src]
impl Hash for Deprecation
Auto Trait Implementations
impl !Send for Deprecation
impl !Send for Deprecation
impl !Sync for Deprecation
impl !Sync for Deprecation