Enum synstructure::AddBounds [−][src]
pub enum AddBounds {
Both,
Fields,
Generics,
None,
// some variants omitted
}Changes how bounds are added
Variants
BothAdd for fields and generics
FieldsFields only
GenericsGenerics only
NoneNone
Trait Implementations
impl Debug for AddBounds[src]
impl Debug for AddBoundsfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for AddBounds[src]
impl Copy for AddBoundsimpl Clone for AddBounds[src]
impl Clone for AddBoundsfn clone(&self) -> AddBounds[src]
fn clone(&self) -> AddBoundsReturns 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 AddBoundsfn eq(&self, other: &AddBounds) -> bool[src]
fn eq(&self, other: &AddBounds) -> 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) -> bool1.0.0
[src]This method tests for !=.
impl Eq for AddBounds[src]
impl Eq for AddBoundsimpl Hash for AddBounds[src]
impl Hash for AddBounds