Struct biscuit_auth::datalog::FactSet
source · pub struct FactSet { /* private fields */ }Implementations§
source§impl FactSet
impl FactSet
pub fn insert(&mut self, origin: &Origin, fact: Fact)
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn iterator<'a>( &'a self, block_ids: &'a TrustedOrigins ) -> impl Iterator<Item = (&Origin, &Fact)> + Clone
pub fn iter_all<'a>(&'a self) -> impl Iterator<Item = (&Origin, &Fact)> + Clone
pub fn merge(&mut self, other: FactSet)
Trait Implementations§
source§impl Extend<(Origin, Fact)> for FactSet
impl Extend<(Origin, Fact)> for FactSet
source§fn extend<T: IntoIterator<Item = (Origin, Fact)>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = (Origin, Fact)>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more