pub enum ValBinaryOp {
Add,
Minus,
Mul,
Div,
Mod,
And,
Or,
Xor,
}Expand description
Value binary operations.
Variants§
Trait Implementations§
Source§impl Clone for ValBinaryOp
impl Clone for ValBinaryOp
Source§fn clone(&self) -> ValBinaryOp
fn clone(&self) -> ValBinaryOp
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 ValBinaryOp
Source§impl Debug for ValBinaryOp
impl Debug for ValBinaryOp
Source§impl<'de> Deserialize<'de> for ValBinaryOp
impl<'de> Deserialize<'de> for ValBinaryOp
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 Eq for ValBinaryOp
Source§impl PartialEq for ValBinaryOp
impl PartialEq for ValBinaryOp
Source§fn eq(&self, other: &ValBinaryOp) -> bool
fn eq(&self, other: &ValBinaryOp) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ValBinaryOp
impl Serialize for ValBinaryOp
impl StructuralPartialEq for ValBinaryOp
Auto Trait Implementations§
impl Freeze for ValBinaryOp
impl RefUnwindSafe for ValBinaryOp
impl Send for ValBinaryOp
impl Sync for ValBinaryOp
impl Unpin for ValBinaryOp
impl UnsafeUnpin for ValBinaryOp
impl UnwindSafe for ValBinaryOp
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