pub enum UnaryKind {
Truthy,
LogicalNot,
BitwiseNot,
Negate,
Copy,
Resolve,
Jump,
SetExceptionHandler,
}Expand description
An operation that is performed on a single argument.
Variants§
Truthy
Evaluates the argument’s truthyness
LogicalNot
not op
BitwiseNot
!op
Negate
-op
Copy
Copies the argument.
Resolve
Resolves a name in the current scope.
Jump
Jumps to the instruction address. The destination will contain the current address before jumping.
SetExceptionHandler
Sets the exception handler to the label provided. The destination will contain the overwritten exception handler.
Trait Implementations§
source§impl<'de> Deserialize<'de> for UnaryKind
impl<'de> Deserialize<'de> for UnaryKind
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 UnaryKind
impl StructuralPartialEq for UnaryKind
Auto Trait Implementations§
impl Freeze for UnaryKind
impl RefUnwindSafe for UnaryKind
impl Send for UnaryKind
impl Sync for UnaryKind
impl Unpin for UnaryKind
impl UnwindSafe for UnaryKind
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
§impl<A> Cast for A
impl<A> Cast for A
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)