Enum kodept_ast::UnaryExpressionKind
source · pub enum UnaryExpressionKind {
Neg,
Not,
Inv,
Plus,
}Variants§
Trait Implementations§
source§impl Clone for UnaryExpressionKind
impl Clone for UnaryExpressionKind
source§fn clone(&self) -> UnaryExpressionKind
fn clone(&self) -> UnaryExpressionKind
Returns a copy 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 UnaryExpressionKind
impl Debug for UnaryExpressionKind
source§impl PartialEq for UnaryExpressionKind
impl PartialEq for UnaryExpressionKind
source§fn eq(&self, other: &UnaryExpressionKind) -> bool
fn eq(&self, other: &UnaryExpressionKind) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UnaryExpressionKind
Auto Trait Implementations§
impl RefUnwindSafe for UnaryExpressionKind
impl Send for UnaryExpressionKind
impl Sync for UnaryExpressionKind
impl Unpin for UnaryExpressionKind
impl UnwindSafe for UnaryExpressionKind
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