pub struct InjectivityChecker { /* private fields */ }Expand description
Structural injectivity analysis: can a constructor be distinguished by its arguments?
Implementations§
Source§impl InjectivityChecker
impl InjectivityChecker
Sourcepub fn mark_injective(&mut self, ctor: &str)
pub fn mark_injective(&mut self, ctor: &str)
Mark a constructor as injective.
Sourcepub fn is_injective(&self, ctor: &str) -> bool
pub fn is_injective(&self, ctor: &str) -> bool
Return whether a constructor is known to be injective.
Sourcepub fn injective_ctors(&self) -> &[String]
pub fn injective_ctors(&self) -> &[String]
Return all injective constructors.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InjectivityChecker
impl RefUnwindSafe for InjectivityChecker
impl Send for InjectivityChecker
impl Sync for InjectivityChecker
impl Unpin for InjectivityChecker
impl UnsafeUnpin for InjectivityChecker
impl UnwindSafe for InjectivityChecker
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