Trait lattices::ght::GhtPrefixIter
source · pub trait GhtPrefixIter<KeyPrefix> {
type Item: VariadicExt;
// Required method
fn prefix_iter<'a>(
&'a self,
prefix: KeyPrefix,
) -> impl Iterator<Item = <Self::Item as VariadicExt>::AsRefVar<'a>>
where Self::Item: 'a;
}
Expand description
A trait to iterate through the items in a Ght based on a prefix of the schema.
Required Associated Types§
Required Methods§
sourcefn prefix_iter<'a>(
&'a self,
prefix: KeyPrefix,
) -> impl Iterator<Item = <Self::Item as VariadicExt>::AsRefVar<'a>>where
Self::Item: 'a,
fn prefix_iter<'a>(
&'a self,
prefix: KeyPrefix,
) -> impl Iterator<Item = <Self::Item as VariadicExt>::AsRefVar<'a>>where
Self::Item: 'a,
given a prefix, return an iterator through the items below
Object Safety§
This trait is not object safe.