Enum synstructure::AddBounds [−][src]
pub enum AddBounds { Both, Fields, Generics, None, // some variants omitted }
Changes how bounds are added
Variants
Both
Add for fields and generics
Fields
Fields only
Generics
Generics only
None
None
Trait Implementations
impl Debug for AddBounds
[src]
impl Debug for AddBounds
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 Copy for AddBounds
[src]
impl Copy for AddBounds
impl Clone for AddBounds
[src]
impl Clone for AddBounds
fn clone(&self) -> AddBounds
[src]
fn clone(&self) -> AddBounds
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 PartialEq for AddBounds
[src]
impl PartialEq for AddBounds
fn eq(&self, other: &AddBounds) -> bool
[src]
fn eq(&self, other: &AddBounds) -> 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
1.0.0
[src]This method tests for !=
.
impl Eq for AddBounds
[src]
impl Eq for AddBounds
impl Hash for AddBounds
[src]
impl Hash for AddBounds