pub enum NumberOperation {
Minus {},
Plus {},
}Variants§
Implementations§
Source§impl NumberOperation
impl NumberOperation
pub fn try_from_span(span: &Span<'_>) -> Option<Self>
Trait Implementations§
Source§impl Clone for NumberOperation
impl Clone for NumberOperation
Source§fn clone(&self) -> NumberOperation
fn clone(&self) -> NumberOperation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NumberOperation
impl Debug for NumberOperation
Source§impl<'de> Deserialize<'de> for NumberOperation
impl<'de> Deserialize<'de> for NumberOperation
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 Hash for NumberOperation
impl Hash for NumberOperation
Source§impl Idris for NumberOperation
impl Idris for NumberOperation
Source§impl Ord for NumberOperation
impl Ord for NumberOperation
Source§fn cmp(&self, other: &NumberOperation) -> Ordering
fn cmp(&self, other: &NumberOperation) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NumberOperation
impl PartialEq for NumberOperation
Source§impl PartialOrd for NumberOperation
impl PartialOrd for NumberOperation
Source§impl Serialize for NumberOperation
impl Serialize for NumberOperation
impl Copy for NumberOperation
impl Eq for NumberOperation
impl StructuralPartialEq for NumberOperation
Auto Trait Implementations§
impl Freeze for NumberOperation
impl RefUnwindSafe for NumberOperation
impl Send for NumberOperation
impl Sync for NumberOperation
impl Unpin for NumberOperation
impl UnwindSafe for NumberOperation
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