Enum sway_types::integer_bits::IntegerBits
source · pub enum IntegerBits {
Eight,
Sixteen,
ThirtyTwo,
SixtyFour,
}
Variants§
Trait Implementations§
source§impl Clone for IntegerBits
impl Clone for IntegerBits
source§fn clone(&self) -> IntegerBits
fn clone(&self) -> IntegerBits
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 IntegerBits
impl Debug for IntegerBits
source§impl Display for IntegerBits
impl Display for IntegerBits
source§impl Hash for IntegerBits
impl Hash for IntegerBits
source§impl PartialEq<IntegerBits> for IntegerBits
impl PartialEq<IntegerBits> for IntegerBits
source§fn eq(&self, other: &IntegerBits) -> bool
fn eq(&self, other: &IntegerBits) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for IntegerBits
impl Eq for IntegerBits
impl StructuralEq for IntegerBits
impl StructuralPartialEq for IntegerBits
Auto Trait Implementations§
impl RefUnwindSafe for IntegerBits
impl Send for IntegerBits
impl Sync for IntegerBits
impl Unpin for IntegerBits
impl UnwindSafe for IntegerBits
Blanket Implementations§
§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