pub enum Condition {
Eq(u8),
Gt(u8),
Gte(u8),
Lt(u8),
Lte(u8),
}
Expand description
Test that die values can be checked against
Variants§
Eq(u8)
Checks whether values are equal to its own value. Symbol: =
Gt(u8)
Checks whether values are greater than its own value. Symbol: >
Gte(u8)
Checks whether values are greater than or equal to its own value. Symbol: >=
Lt(u8)
Checks whether values are less than its own value. Symbol: <
Lte(u8)
Checks whether values are less than or equal to its own value. Symbol: <=
Implementations§
Trait Implementations§
Source§impl GenParser<Condition> for Condition
impl GenParser<Condition> for Condition
impl Copy for Condition
impl Eq for Condition
impl StructuralPartialEq for Condition
Auto Trait Implementations§
impl Freeze for Condition
impl RefUnwindSafe for Condition
impl Send for Condition
impl Sync for Condition
impl Unpin for Condition
impl UnwindSafe for Condition
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