#[non_exhaustive]pub enum FloatBinop {
Equal,
NotEqual,
Less,
LessEqual,
Add,
Sub,
Mul,
Div,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Source§impl FloatBinop
impl FloatBinop
pub fn is_comparison(self) -> bool
Trait Implementations§
Source§impl Clone for FloatBinop
impl Clone for FloatBinop
Source§fn clone(&self) -> FloatBinop
fn clone(&self) -> FloatBinop
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FloatBinop
Source§impl Debug for FloatBinop
impl Debug for FloatBinop
Source§impl<'de> Deserialize<'de> for FloatBinop
impl<'de> Deserialize<'de> for FloatBinop
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
Source§impl Display for FloatBinop
impl Display for FloatBinop
impl Eq for FloatBinop
Source§impl Hash for FloatBinop
impl Hash for FloatBinop
Source§impl PartialEq for FloatBinop
impl PartialEq for FloatBinop
Source§impl Serialize for FloatBinop
impl Serialize for FloatBinop
impl StructuralPartialEq for FloatBinop
Auto Trait Implementations§
impl Freeze for FloatBinop
impl RefUnwindSafe for FloatBinop
impl Send for FloatBinop
impl Sync for FloatBinop
impl Unpin for FloatBinop
impl UnsafeUnpin for FloatBinop
impl UnwindSafe for FloatBinop
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