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 Debug for Style[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>[src]
Formats the value using the given formatter. Read more
impl Eq for Style[src]
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