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
Auto Trait Implementations§
impl RefUnwindSafe for FactSet
impl Send for FactSet
impl Sync for FactSet
impl Unpin for FactSet
impl UnwindSafe for FactSet
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more