Struct darling_core::options::InputVariant
[−]
[src]
pub struct InputVariant { /* fields omitted */ }
Methods
impl InputVariant
[src]
pub fn as_codegen_variant<'a>(&'a self, ty_ident: &'a Ident) -> Variant<'a>
[src]
pub fn from_variant(v: &Variant, parent: Option<&Core>) -> Result<Self>
[src]
Trait Implementations
impl Debug for InputVariant
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for InputVariant
[src]
fn clone(&self) -> InputVariant
[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
impl PartialEq for InputVariant
[src]
fn eq(&self, __arg_0: &InputVariant) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &InputVariant) -> bool
[src]
This method tests for !=
.