#[non_exhaustive]pub enum ErasedMapOp {
Negate,
Conj,
Abs,
Sign,
}Expand description
Runtime unary operation for erased_map_into.
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.
Trait Implementations§
Source§impl Clone for ErasedMapOp
impl Clone for ErasedMapOp
Source§fn clone(&self) -> ErasedMapOp
fn clone(&self) -> ErasedMapOp
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 ErasedMapOp
Source§impl Debug for ErasedMapOp
impl Debug for ErasedMapOp
impl Eq for ErasedMapOp
Source§impl PartialEq for ErasedMapOp
impl PartialEq for ErasedMapOp
impl StructuralPartialEq for ErasedMapOp
Auto Trait Implementations§
impl Freeze for ErasedMapOp
impl RefUnwindSafe for ErasedMapOp
impl Send for ErasedMapOp
impl Sync for ErasedMapOp
impl Unpin for ErasedMapOp
impl UnsafeUnpin for ErasedMapOp
impl UnwindSafe for ErasedMapOp
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