pub struct PrettyLaw {
pub name: String,
pub when_expr: String,
pub then_expr: String,
}Expand description
A pretty-printable law declaration.
Fields§
§name: String§when_expr: String§then_expr: StringImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PrettyLaw
impl RefUnwindSafe for PrettyLaw
impl Send for PrettyLaw
impl Sync for PrettyLaw
impl Unpin for PrettyLaw
impl UnsafeUnpin for PrettyLaw
impl UnwindSafe for PrettyLaw
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