Enum darling::ast::Style
[−]
[src]
pub enum Style {
Tuple,
Struct,
Unit,
}Variants
TupleStructUnit
Methods
impl Style[src]
pub fn is_unit(&self) -> bool[src]
pub fn is_tuple(&self) -> bool[src]
pub fn is_struct(&self) -> bool[src]
Trait Implementations
impl Copy for Style[src]
impl Eq for Style[src]
impl PartialEq<Style> for Style[src]
fn eq(&self, __arg_0: &Style) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl<T> From<Style> for Fields<T>[src]
impl<'a> From<&'a Fields> for Style[src]
impl From<Fields> for Style[src]
impl Clone for Style[src]
fn clone(&self) -> Style[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more