Enum cranelift_codegen::ir::Endianness
source · pub enum Endianness {
Little,
Big,
}
Expand description
Endianness of a memory access.
Variants§
Trait Implementations§
source§impl Clone for Endianness
impl Clone for Endianness
source§fn clone(&self) -> Endianness
fn clone(&self) -> Endianness
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 Endianness
impl Debug for Endianness
source§impl Hash for Endianness
impl Hash for Endianness
source§impl PartialEq<Endianness> for Endianness
impl PartialEq<Endianness> for Endianness
source§fn eq(&self, other: &Endianness) -> bool
fn eq(&self, other: &Endianness) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Endianness
impl Eq for Endianness
impl StructuralEq for Endianness
impl StructuralPartialEq for Endianness
Auto Trait Implementations§
impl RefUnwindSafe for Endianness
impl Send for Endianness
impl Sync for Endianness
impl Unpin for Endianness
impl UnwindSafe for Endianness
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.