Struct cdragon_prop::data::BinHashValue
source · pub struct BinHashValue {
pub hash: u32,
}
Expand description
Hash of a BinHash value
Fields§
§hash: u32
Hash value
Implementations§
source§impl BinHashValue
impl BinHashValue
Trait Implementations§
source§impl Clone for BinHashValue
impl Clone for BinHashValue
source§fn clone(&self) -> BinHashValue
fn clone(&self) -> BinHashValue
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 BinHashValue
impl Debug for BinHashValue
source§impl Default for BinHashValue
impl Default for BinHashValue
source§fn default() -> BinHashValue
fn default() -> BinHashValue
Returns the “default value” for a type. Read more
source§impl From<BinHashValue> for BinHash
impl From<BinHashValue> for BinHash
source§fn from(v: BinHashValue) -> Self
fn from(v: BinHashValue) -> Self
Converts to this type from the input type.
source§impl From<u32> for BinHashValue
impl From<u32> for BinHashValue
source§impl Hash for BinHashValue
impl Hash for BinHashValue
source§impl HashDef for BinHashValue
impl HashDef for BinHashValue
source§impl LowerHex for BinHashValue
impl LowerHex for BinHashValue
source§impl Ord for BinHashValue
impl Ord for BinHashValue
source§fn cmp(&self, other: &BinHashValue) -> Ordering
fn cmp(&self, other: &BinHashValue) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for BinHashValue
impl PartialEq for BinHashValue
source§fn eq(&self, other: &BinHashValue) -> bool
fn eq(&self, other: &BinHashValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BinHashValue
impl PartialOrd for BinHashValue
source§fn partial_cmp(&self, other: &BinHashValue) -> Option<Ordering>
fn partial_cmp(&self, other: &BinHashValue) -> 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 BinHashValue
impl Eq for BinHashValue
impl StructuralEq for BinHashValue
impl StructuralPartialEq for BinHashValue
Auto Trait Implementations§
impl RefUnwindSafe for BinHashValue
impl Send for BinHashValue
impl Sync for BinHashValue
impl Unpin for BinHashValue
impl UnwindSafe for BinHashValue
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