pub struct SetDigest {
masks: [u64; 3],
}Fields§
§masks: [u64; 3]Implementations§
Source§impl SetDigest
impl SetDigest
pub fn new() -> Self
pub fn from_coverage(coverage: &CoverageTable<'_>) -> Self
pub fn clear(&mut self)
pub fn full() -> Self
pub fn union(&mut self, other: &Self)
pub fn add(&mut self, g: u32)
pub fn add_array(&mut self, array: impl IntoIterator<Item = u32>)
pub fn add_range(&mut self, a: u32, b: u32) -> bool
pub fn add_coverage(&mut self, coverage: &CoverageTable<'_>)
pub fn may_have(&self, g: u32) -> bool
pub fn may_intersect(&self, other: &Self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SetDigest
impl RefUnwindSafe for SetDigest
impl Send for SetDigest
impl Sync for SetDigest
impl Unpin for SetDigest
impl UnsafeUnpin for SetDigest
impl UnwindSafe for SetDigest
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