Struct snarkvm_console_types_group::bech32::u5
pub struct u5(_);
Expand description
Integer in the range 0..32
Implementations§
Trait Implementations§
§impl Ord for u5
impl Ord for u5
§impl PartialOrd<u5> for u5
impl PartialOrd<u5> for u5
§fn partial_cmp(&self, other: &u5) -> Option<Ordering>
fn partial_cmp(&self, other: &u5) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for u5
impl Eq for u5
impl StructuralEq for u5
impl StructuralPartialEq for u5
Auto Trait Implementations§
impl RefUnwindSafe for u5
impl Send for u5
impl Sync for u5
impl Unpin for u5
impl UnwindSafe for u5
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
§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.