Enum quil_rs::expression::PrefixOperator
source · pub enum PrefixOperator {
Plus,
Minus,
}
Variants§
Trait Implementations§
source§impl Clone for PrefixOperator
impl Clone for PrefixOperator
source§fn clone(&self) -> PrefixOperator
fn clone(&self) -> PrefixOperator
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 PrefixOperator
impl Debug for PrefixOperator
source§impl Display for PrefixOperator
impl Display for PrefixOperator
source§impl Hash for PrefixOperator
impl Hash for PrefixOperator
source§impl PartialEq<PrefixOperator> for PrefixOperator
impl PartialEq<PrefixOperator> for PrefixOperator
source§fn eq(&self, other: &PrefixOperator) -> bool
fn eq(&self, other: &PrefixOperator) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PrefixOperator
impl StructuralEq for PrefixOperator
impl StructuralPartialEq for PrefixOperator
Auto Trait Implementations§
impl RefUnwindSafe for PrefixOperator
impl Send for PrefixOperator
impl Sync for PrefixOperator
impl Unpin for PrefixOperator
impl UnwindSafe for PrefixOperator
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.