Trait darling::usage::UsesLifetimes [−][src]
pub trait UsesLifetimes { pub fn uses_lifetimes(
&self,
options: &Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>; pub fn uses_lifetimes_cloned(
&self,
options: &Options,
lifetimes: &HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<Lifetime, BuildHasherDefault<FnvHasher>> { ... } }
Searcher for finding lifetimes in a syntax tree. This can be used to determine which lifetimes must be emitted in generated code.
Required methods
pub fn uses_lifetimes(
&self,
options: &Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
Returns the subset of the queried lifetimes that are used by the implementing syntax element.
This method only accounts for direct usage by the element; indirect usage via bounds or where
predicates are not detected.
Provided methods
pub fn uses_lifetimes_cloned(
&self,
options: &Options,
lifetimes: &HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
lifetimes: &HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
Find all used lifetimes, then clone them and return that set.
Implementations on Foreign Types
impl UsesLifetimes for PredicateLifetime
[src]
impl UsesLifetimes for PredicateLifetime
[src]pub fn uses_lifetimes(
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for TypeParamBound
[src]
impl UsesLifetimes for TypeParamBound
[src]pub fn uses_lifetimes(
&self,
options: &Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for TypePtr
[src]
impl UsesLifetimes for TypePtr
[src]pub fn uses_lifetimes(
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for WherePredicate
[src]
impl UsesLifetimes for WherePredicate
[src]pub fn uses_lifetimes(
&self,
options: &Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for TypeGroup
[src]
impl UsesLifetimes for TypeGroup
[src]pub fn uses_lifetimes(
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for TypeParen
[src]
impl UsesLifetimes for TypeParen
[src]pub fn uses_lifetimes(
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for DataEnum
[src]
impl UsesLifetimes for DataEnum
[src]pub fn uses_lifetimes(
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for TypeTuple
[src]
impl UsesLifetimes for TypeTuple
[src]pub fn uses_lifetimes(
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for PredicateType
[src]
impl UsesLifetimes for PredicateType
[src]pub fn uses_lifetimes(
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for GenericArgument
[src]
impl UsesLifetimes for GenericArgument
[src]pub fn uses_lifetimes(
&self,
options: &Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for TraitBound
[src]
impl UsesLifetimes for TraitBound
[src]pub fn uses_lifetimes(
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for TypeArray
[src]
impl UsesLifetimes for TypeArray
[src]pub fn uses_lifetimes(
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for AngleBracketedGenericArguments
[src]
impl UsesLifetimes for AngleBracketedGenericArguments
[src]pub fn uses_lifetimes(
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for LifetimeDef
[src]
impl UsesLifetimes for LifetimeDef
[src]pub fn uses_lifetimes(
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for Type
[src]
impl UsesLifetimes for Type
[src]pub fn uses_lifetimes(
&self,
options: &Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for Path
[src]
impl UsesLifetimes for Path
[src]pub fn uses_lifetimes(
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for DataStruct
[src]
impl UsesLifetimes for DataStruct
[src]pub fn uses_lifetimes(
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for PredicateEq
[src]
impl UsesLifetimes for PredicateEq
[src]pub fn uses_lifetimes(
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
impl<T> UsesLifetimes for Option<T> where
T: UsesLifetimes,
[src]
impl<T> UsesLifetimes for Option<T> where
T: UsesLifetimes,
[src]pub fn uses_lifetimes(
&self,
options: &Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for Binding
[src]
impl UsesLifetimes for Binding
[src]pub fn uses_lifetimes(
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for ReturnType
[src]
impl UsesLifetimes for ReturnType
[src]pub fn uses_lifetimes(
&self,
options: &Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for QSelf
[src]
impl UsesLifetimes for QSelf
[src]pub fn uses_lifetimes(
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for ParenthesizedGenericArguments
[src]
impl UsesLifetimes for ParenthesizedGenericArguments
[src]pub fn uses_lifetimes(
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for Fields
[src]
impl UsesLifetimes for Fields
[src]pub fn uses_lifetimes(
&self,
options: &Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for TypeTraitObject
[src]
impl UsesLifetimes for TypeTraitObject
[src]pub fn uses_lifetimes(
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
impl<T, U> UsesLifetimes for Punctuated<T, U> where
T: UsesLifetimes,
[src]
impl<T, U> UsesLifetimes for Punctuated<T, U> where
T: UsesLifetimes,
[src]pub fn uses_lifetimes(
&self,
options: &Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for TypeReference
[src]
impl UsesLifetimes for TypeReference
[src]pub fn uses_lifetimes(
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for Field
[src]
impl UsesLifetimes for Field
[src]pub fn uses_lifetimes(
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for Variant
[src]
impl UsesLifetimes for Variant
[src]pub fn uses_lifetimes(
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for PathSegment
[src]
impl UsesLifetimes for PathSegment
[src]pub fn uses_lifetimes(
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
impl<T> UsesLifetimes for Vec<T, Global> where
T: UsesLifetimes,
[src]
impl<T> UsesLifetimes for Vec<T, Global> where
T: UsesLifetimes,
[src]pub fn uses_lifetimes(
&self,
options: &Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for DataUnion
[src]
impl UsesLifetimes for DataUnion
[src]pub fn uses_lifetimes(
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for BareFnArg
[src]
impl UsesLifetimes for BareFnArg
[src]pub fn uses_lifetimes(
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for Constraint
[src]
impl UsesLifetimes for Constraint
[src]pub fn uses_lifetimes(
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for FieldsNamed
[src]
impl UsesLifetimes for FieldsNamed
[src]pub fn uses_lifetimes(
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for Data
[src]
impl UsesLifetimes for Data
[src]pub fn uses_lifetimes(
&self,
options: &Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for PathArguments
[src]
impl UsesLifetimes for PathArguments
[src]pub fn uses_lifetimes(
&self,
options: &Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for TypeSlice
[src]
impl UsesLifetimes for TypeSlice
[src]pub fn uses_lifetimes(
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for Lifetime
[src]
impl UsesLifetimes for Lifetime
[src]pub fn uses_lifetimes(
&self,
&Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
&Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for TypeImplTrait
[src]
impl UsesLifetimes for TypeImplTrait
[src]pub fn uses_lifetimes(
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for BoundLifetimes
[src]
impl UsesLifetimes for BoundLifetimes
[src]pub fn uses_lifetimes(
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for TypePath
[src]
impl UsesLifetimes for TypePath
[src]pub fn uses_lifetimes(
&self,
options: &Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
impl UsesLifetimes for TypeBareFn
[src]
impl UsesLifetimes for TypeBareFn
[src]pub fn uses_lifetimes(
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
type_set: &'gen HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'gen Lifetime, BuildHasherDefault<FnvHasher>>
Implementors
impl UsesLifetimes for Ignored
[src]
impl UsesLifetimes for Ignored
[src]pub fn uses_lifetimes(
&self,
_opts: &Options,
&'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
_opts: &Options,
&'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
impl<T> UsesLifetimes for darling::ast::Fields<T> where
T: UsesLifetimes,
[src]
impl<T> UsesLifetimes for darling::ast::Fields<T> where
T: UsesLifetimes,
[src]pub fn uses_lifetimes(
&self,
options: &Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
impl<V, F> UsesLifetimes for darling::ast::Data<V, F> where
F: UsesLifetimes,
V: UsesLifetimes,
[src]
impl<V, F> UsesLifetimes for darling::ast::Data<V, F> where
F: UsesLifetimes,
V: UsesLifetimes,
[src]pub fn uses_lifetimes(
&self,
options: &Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>
[src]
&self,
options: &Options,
lifetimes: &'a HashSet<Lifetime, BuildHasherDefault<FnvHasher>>
) -> HashSet<&'a Lifetime, BuildHasherDefault<FnvHasher>>