Enum syntax::ast::TraitObjectSyntax [−][src]
pub enum TraitObjectSyntax { Dyn, None, }
Syntax used to declare a trait object.
Variants
Dyn
None
Trait Implementations
impl Clone for TraitObjectSyntax
[src]
impl Clone for TraitObjectSyntax
fn clone(&self) -> TraitObjectSyntax
[src]
fn clone(&self) -> TraitObjectSyntax
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for TraitObjectSyntax
[src]
impl Copy for TraitObjectSyntax
impl PartialEq for TraitObjectSyntax
[src]
impl PartialEq for TraitObjectSyntax
fn eq(&self, other: &TraitObjectSyntax) -> bool
[src]
fn eq(&self, other: &TraitObjectSyntax) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Encodable for TraitObjectSyntax
[src]
impl Encodable for TraitObjectSyntax
impl Decodable for TraitObjectSyntax
[src]
impl Decodable for TraitObjectSyntax
impl Debug for TraitObjectSyntax
[src]
impl Debug for TraitObjectSyntax
Auto Trait Implementations
impl Send for TraitObjectSyntax
impl Send for TraitObjectSyntax
impl Sync for TraitObjectSyntax
impl Sync for TraitObjectSyntax