pub struct ExponentialRules;Expand description
The four rules governing the exponential modality ! in linear logic.
Implementations§
Source§impl ExponentialRules
impl ExponentialRules
Sourcepub fn dereliction(&self, a: &str) -> String
pub fn dereliction(&self, a: &str) -> String
Dereliction: !A ⊢ A (use a resource once).
Sourcepub fn contraction(&self, a: &str) -> String
pub fn contraction(&self, a: &str) -> String
Contraction: !A ⊢ !A ⊗ !A (duplicate a resource).
Trait Implementations§
Source§impl Clone for ExponentialRules
impl Clone for ExponentialRules
Source§fn clone(&self) -> ExponentialRules
fn clone(&self) -> ExponentialRules
Returns a duplicate of the value. Read more
1.0.0 · 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 ExponentialRules
impl Debug for ExponentialRules
Source§impl Default for ExponentialRules
impl Default for ExponentialRules
Source§fn default() -> ExponentialRules
fn default() -> ExponentialRules
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExponentialRules
impl RefUnwindSafe for ExponentialRules
impl Send for ExponentialRules
impl Sync for ExponentialRules
impl Unpin for ExponentialRules
impl UnsafeUnpin for ExponentialRules
impl UnwindSafe for ExponentialRules
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