Enum ruast::UnaryOpKind
source · pub enum UnaryOpKind {
Deref,
Not,
Neg,
}Variants§
Trait Implementations§
source§impl Clone for UnaryOpKind
impl Clone for UnaryOpKind
source§fn clone(&self) -> UnaryOpKind
fn clone(&self) -> UnaryOpKind
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 UnaryOpKind
impl Debug for UnaryOpKind
source§impl Display for UnaryOpKind
impl Display for UnaryOpKind
source§impl From<UnaryOpKind> for Token
impl From<UnaryOpKind> for Token
source§fn from(value: UnaryOpKind) -> Self
fn from(value: UnaryOpKind) -> Self
Converts to this type from the input type.
source§impl Hash for UnaryOpKind
impl Hash for UnaryOpKind
source§impl PartialEq for UnaryOpKind
impl PartialEq for UnaryOpKind
source§fn eq(&self, other: &UnaryOpKind) -> bool
fn eq(&self, other: &UnaryOpKind) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for UnaryOpKind
impl StructuralEq for UnaryOpKind
impl StructuralPartialEq for UnaryOpKind
Auto Trait Implementations§
impl RefUnwindSafe for UnaryOpKind
impl Send for UnaryOpKind
impl Sync for UnaryOpKind
impl Unpin for UnaryOpKind
impl UnwindSafe for UnaryOpKind
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