pub struct SigmaSet(/* private fields */);
Implementations§
Source§impl SigmaSet
impl SigmaSet
pub fn from_rows<'a>( rows: impl Iterator<Item = &'a PatternRowVec>, column: usize, ) -> Self
pub fn complete_sigma(db: &dyn AnalyzerDb, ty: TypeId) -> Self
pub fn is_complete(&self, db: &dyn AnalyzerDb) -> bool
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn iter(&self) -> impl Iterator<Item = &ConstructorKind>
pub fn difference(&self, other: &Self) -> Self
Trait Implementations§
Source§impl IntoIterator for SigmaSet
impl IntoIterator for SigmaSet
impl Eq for SigmaSet
impl StructuralPartialEq for SigmaSet
Auto Trait Implementations§
impl Freeze for SigmaSet
impl RefUnwindSafe for SigmaSet
impl Send for SigmaSet
impl Sync for SigmaSet
impl Unpin for SigmaSet
impl UnwindSafe for SigmaSet
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.