Enum cairo_lang_sierra::extensions::modules::int::IntOperator
source · pub enum IntOperator {
OverflowingAdd,
OverflowingSub,
}
Expand description
Operators for integers.
Variants§
Trait Implementations§
source§impl Clone for IntOperator
impl Clone for IntOperator
source§fn clone(&self) -> IntOperator
fn clone(&self) -> IntOperator
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 IntOperator
impl Debug for IntOperator
source§impl PartialEq for IntOperator
impl PartialEq for IntOperator
source§fn eq(&self, other: &IntOperator) -> bool
fn eq(&self, other: &IntOperator) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for IntOperator
impl Eq for IntOperator
impl StructuralEq for IntOperator
impl StructuralPartialEq for IntOperator
Auto Trait Implementations§
impl RefUnwindSafe for IntOperator
impl Send for IntOperator
impl Sync for IntOperator
impl Unpin for IntOperator
impl UnwindSafe for IntOperator
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.§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.