Enum cranelift_codegen::isa::x64::args::DivOrRemKind
source · pub enum DivOrRemKind {
SignedDiv,
UnsignedDiv,
SignedRem,
UnsignedRem,
}
Expand description
What kind of division or remainder instruction this is?
Variants§
SignedDiv
Signed division.
UnsignedDiv
Unsigned division.
SignedRem
Signed remainder.
UnsignedRem
Unsigned remainder.
Trait Implementations§
source§impl Clone for DivOrRemKind
impl Clone for DivOrRemKind
source§fn clone(&self) -> DivOrRemKind
fn clone(&self) -> DivOrRemKind
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 PartialEq<DivOrRemKind> for DivOrRemKind
impl PartialEq<DivOrRemKind> for DivOrRemKind
source§fn eq(&self, other: &DivOrRemKind) -> bool
fn eq(&self, other: &DivOrRemKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DivOrRemKind
impl StructuralEq for DivOrRemKind
impl StructuralPartialEq for DivOrRemKind
Auto Trait Implementations§
impl RefUnwindSafe for DivOrRemKind
impl Send for DivOrRemKind
impl Sync for DivOrRemKind
impl Unpin for DivOrRemKind
impl UnwindSafe for DivOrRemKind
Blanket Implementations§
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.