pub struct StructuralRules {
pub weakening: bool,
pub contraction: bool,
pub exchange: bool,
}Expand description
Structural rules available in the type system.
Fields§
§weakening: boolWeakening: can ignore variables
contraction: boolContraction: can use variables multiple times
exchange: boolExchange: variable order doesn’t matter
Trait Implementations§
Source§impl Clone for StructuralRules
impl Clone for StructuralRules
Source§fn clone(&self) -> StructuralRules
fn clone(&self) -> StructuralRules
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 StructuralRules
impl Debug for StructuralRules
Source§impl Default for StructuralRules
impl Default for StructuralRules
Source§fn default() -> StructuralRules
fn default() -> StructuralRules
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StructuralRules
impl RefUnwindSafe for StructuralRules
impl Send for StructuralRules
impl Sync for StructuralRules
impl Unpin for StructuralRules
impl UnwindSafe for StructuralRules
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