Enum syntax::ast::TraitObjectSyntax [−][src]
pub enum TraitObjectSyntax {
Dyn,
None,
}🔬 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?
Syntax used to declare a trait object.
Variants
Dyn🔬 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?
None🔬 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 Clone for TraitObjectSyntax[src]
impl Clone for TraitObjectSyntaxfn clone(&self) -> TraitObjectSyntax[src]
fn clone(&self) -> TraitObjectSyntaxReturns 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 Copy for TraitObjectSyntax[src]
impl Copy for TraitObjectSyntaximpl PartialEq for TraitObjectSyntax[src]
impl PartialEq for TraitObjectSyntaxfn eq(&self, other: &TraitObjectSyntax) -> bool[src]
fn eq(&self, other: &TraitObjectSyntax) -> 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 Encodable for TraitObjectSyntax[src]
impl Encodable for TraitObjectSyntaxfn 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 TraitObjectSyntax[src]
impl Decodable for TraitObjectSyntaxfn decode<__D: Decoder>(d: &mut __D) -> Result<TraitObjectSyntax, __D::Error>[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<TraitObjectSyntax, __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 TraitObjectSyntax[src]
impl Debug for TraitObjectSyntaxAuto Trait Implementations
impl Send for TraitObjectSyntax
impl Send for TraitObjectSyntaximpl Sync for TraitObjectSyntax
impl Sync for TraitObjectSyntax