pub enum GuardRhs {
Integer(i64),
Real(f64),
String(String),
Boolean(bool),
}Expand description
Right-hand side of a guard — accepts integers, reals, strings, and booleans.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GuardRhs
impl RefUnwindSafe for GuardRhs
impl Send for GuardRhs
impl Sync for GuardRhs
impl Unpin for GuardRhs
impl UnsafeUnpin for GuardRhs
impl UnwindSafe for GuardRhs
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