pub enum WhileOp {
LessThan,
GreaterThan,
}Expand description
Strict comparison operator for a WhileClause.
Only < and > are accepted. Non-strict operators (<=, >=, ==,
!=) are rejected at deserialize time with a hint pointing to the
strict alternatives — equality on f64 over a continuous gate is
numerically unsafe and forbidden by design.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WhileOp
Available on crate feature config only.
impl<'de> Deserialize<'de> for WhileOp
Available on crate feature
config only.Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for WhileOp
impl Eq for WhileOp
impl StructuralPartialEq for WhileOp
Auto Trait Implementations§
impl Freeze for WhileOp
impl RefUnwindSafe for WhileOp
impl Send for WhileOp
impl Sync for WhileOp
impl Unpin for WhileOp
impl UnsafeUnpin for WhileOp
impl UnwindSafe for WhileOp
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.