Struct darling_core::util::Ignored [−][src]
pub struct Ignored;
An efficient way of discarding data from a syntax element.
All syntax elements will be successfully read into
the Ignored
struct, with all properties discarded.
Trait Implementations
impl FromDeriveInput for Ignored
[src]
impl FromDeriveInput for Ignored
[src]fn from_derive_input(_: &DeriveInput) -> Result<Self>
[src]
impl FromGenericParam for Ignored
[src]
impl FromGenericParam for Ignored
[src]fn from_generic_param(_: &GenericParam) -> Result<Self>
[src]
impl FromGenerics for Ignored
[src]
impl FromGenerics for Ignored
[src]fn from_generics(_: &Generics) -> Result<Self>
[src]
impl FromMeta for Ignored
[src]
impl FromMeta for Ignored
[src]fn from_meta(_: &Meta) -> Result<Self>
[src]
fn from_nested_meta(item: &NestedMeta) -> Result<Self>
[src]
fn from_word() -> Result<Self>
[src]
fn from_list(items: &[NestedMeta]) -> Result<Self>
[src]
fn from_value(value: &Lit) -> Result<Self>
[src]
fn from_char(value: char) -> Result<Self>
[src]
fn from_string(value: &str) -> Result<Self>
[src]
fn from_bool(value: bool) -> Result<Self>
[src]
impl FromTypeParam for Ignored
[src]
impl FromTypeParam for Ignored
[src]fn from_type_param(_: &TypeParam) -> Result<Self>
[src]
impl FromVariant for Ignored
[src]
impl FromVariant for Ignored
[src]fn from_variant(_: &Variant) -> Result<Self>
[src]
impl UsesLifetimes for Ignored
[src]
impl UsesLifetimes for Ignored
[src]fn uses_lifetimes<'a>(
&self,
_opts: &Options,
_: &'a LifetimeSet
) -> LifetimeRefSet<'a>
[src]
&self,
_opts: &Options,
_: &'a LifetimeSet
) -> LifetimeRefSet<'a>
fn uses_lifetimes_cloned(
&self,
options: &Options,
lifetimes: &LifetimeSet
) -> LifetimeSet
[src]
&self,
options: &Options,
lifetimes: &LifetimeSet
) -> LifetimeSet
impl UsesTypeParams for Ignored
[src]
impl UsesTypeParams for Ignored
[src]fn uses_type_params<'a>(
&self,
_opts: &Options,
_: &'a IdentSet
) -> IdentRefSet<'a>
[src]
&self,
_opts: &Options,
_: &'a IdentSet
) -> IdentRefSet<'a>
fn uses_type_params_cloned(
&self,
options: &Options,
type_set: &IdentSet
) -> IdentSet
[src]
&self,
options: &Options,
type_set: &IdentSet
) -> IdentSet