Enum darling::ast::Style [−][src]
pub enum Style { Tuple, Struct, Unit, }
Variants
Tuple
Struct
Unit
Methods
impl Style
[src]
impl Style
pub fn is_unit(&self) -> bool
[src]
pub fn is_unit(&self) -> bool
pub fn is_tuple(&self) -> bool
[src]
pub fn is_tuple(&self) -> bool
pub fn is_struct(&self) -> bool
[src]
pub fn is_struct(&self) -> bool
Trait Implementations
impl Clone for Style
[src]
impl Clone for Style
fn clone(&self) -> Style
[src]
fn clone(&self) -> Style
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 Debug for Style
[src]
impl Debug for Style
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<T> From<Style> for Fields<T>
[src]
impl<T> From<Style> for Fields<T>
impl From<Fields> for Style
[src]
impl From<Fields> for Style
impl<'a> From<&'a Fields> for Style
[src]
impl<'a> From<&'a Fields> for Style
impl Copy for Style
[src]
impl Copy for Style
impl Eq for Style
[src]
impl Eq for Style
impl PartialEq<Style> for Style
[src]
impl PartialEq<Style> for Style