pub struct ObligationBundle {
pub name: String,
pub origin: Origin,
/* private fields */
}Expand description
Named collection of related proof obligations.
Fields§
§name: String§origin: OriginImplementations§
Source§impl ObligationBundle
impl ObligationBundle
pub fn new(name: impl Into<String>, origin: Origin) -> ObligationBundle
pub fn with(self, obligation: Obligation) -> ObligationBundle
pub fn push(&mut self, obligation: Obligation)
pub fn obligations(&self) -> &[Obligation]
pub fn into_obligations(self) -> Vec<Obligation>
pub fn semigroup( name: impl Into<String>, origin: Origin, signature: &AlgebraicSignature, ) -> ObligationBundle
pub fn monoid( name: impl Into<String>, origin: Origin, signature: &AlgebraicSignature, ) -> ObligationBundle
pub fn group( name: impl Into<String>, origin: Origin, signature: &AlgebraicSignature, ) -> ObligationBundle
pub fn semiring( name: impl Into<String>, origin: Origin, signature: &AlgebraicSignature, ) -> ObligationBundle
pub fn ring( name: impl Into<String>, origin: Origin, signature: &AlgebraicSignature, ) -> ObligationBundle
pub fn lattice( name: impl Into<String>, origin: Origin, signature: &AlgebraicSignature, ) -> ObligationBundle
Trait Implementations§
Source§impl Clone for ObligationBundle
impl Clone for ObligationBundle
Source§fn clone(&self) -> ObligationBundle
fn clone(&self) -> ObligationBundle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ObligationBundle
impl Debug for ObligationBundle
impl Eq for ObligationBundle
Source§impl PartialEq for ObligationBundle
impl PartialEq for ObligationBundle
Source§fn eq(&self, other: &ObligationBundle) -> bool
fn eq(&self, other: &ObligationBundle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ObligationBundle
Auto Trait Implementations§
impl Freeze for ObligationBundle
impl RefUnwindSafe for ObligationBundle
impl Send for ObligationBundle
impl Sync for ObligationBundle
impl Unpin for ObligationBundle
impl UnsafeUnpin for ObligationBundle
impl UnwindSafe for ObligationBundle
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