pub struct Assertion {
pub instinct: Instinct,
pub enforcement: Enforcement,
pub description: String,
pub condition: String,
}Expand description
A constraint assertion generated by an instinct firing. Compatible with plato-constraints.
Fields§
§instinct: Instinct§enforcement: Enforcement§description: String§condition: StringImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Assertion
impl RefUnwindSafe for Assertion
impl Send for Assertion
impl Sync for Assertion
impl Unpin for Assertion
impl UnsafeUnpin for Assertion
impl UnwindSafe for Assertion
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