Trait miniscript::ForEachKey
source · pub trait ForEachKey<Pk: MiniscriptKey> {
fn for_each_key<'a, F: FnMut(&'a Pk) -> bool>(&'a self, pred: F) -> bool
where
Pk: 'a;
fn for_any_key<'a, F: FnMut(&'a Pk) -> bool>(&'a self, pred: F) -> bool
where
Pk: 'a,
{ ... }
}
Expand description
Either a key or keyhash, but both contain Pk Trait describing the ability to iterate over every key