pub struct SeparationLogic {
pub heap_assertion: String,
}Expand description
Separation logic over a heap model.
Fields§
§heap_assertion: StringImplementations§
Source§impl SeparationLogic
impl SeparationLogic
pub fn new(heap_assertion: impl Into<String>) -> Self
Sourcepub fn frame_rule(&self) -> String
pub fn frame_rule(&self) -> String
Describe the Frame Rule: {P}C{Q} ⊢ {PR}C{QR}.
Sourcepub fn small_axiom(&self) -> String
pub fn small_axiom(&self) -> String
Describe the small axiom for allocation: {emp} x:=alloc(n) {x↦0,…,0}.
Sourcepub fn bi_abduction(&self) -> String
pub fn bi_abduction(&self) -> String
Describe bi-abduction: find X, Y such that P * X ⊢ Q * Y.
Auto Trait Implementations§
impl Freeze for SeparationLogic
impl RefUnwindSafe for SeparationLogic
impl Send for SeparationLogic
impl Sync for SeparationLogic
impl Unpin for SeparationLogic
impl UnsafeUnpin for SeparationLogic
impl UnwindSafe for SeparationLogic
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