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 Eq for TraitObjectSyntax
[src]
impl Eq for TraitObjectSyntax
impl Encodable for TraitObjectSyntax
[src]
impl Encodable for TraitObjectSyntax
impl Decodable for TraitObjectSyntax
[src]
impl Decodable for TraitObjectSyntax
impl Hash for TraitObjectSyntax
[src]
impl Hash for TraitObjectSyntax
fn 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,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
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