Enum cdragon_prop::BinHashKind
source · pub enum BinHashKind {
EntryPath,
ClassName,
FieldName,
HashValue,
}
Expand description
Enum with a variant for each kind of bin hash
Variants§
EntryPath
Hash of an entry path (BinEntryPath
)
ClassName
Hash of an class name, used by entries, structs and embeds (BinClassName
)
FieldName
Hash of a field name (BinFieldName
)
HashValue
Hash of a hash value (BinHashValue
)
Implementations§
source§impl BinHashKind
impl BinHashKind
sourcepub const VARIANTS: [BinHashKind; 4] = _
pub const VARIANTS: [BinHashKind; 4] = _
All kinds of bin hashes
Trait Implementations§
source§impl Clone for BinHashKind
impl Clone for BinHashKind
source§fn clone(&self) -> BinHashKind
fn clone(&self) -> BinHashKind
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 BinHashKind
impl Debug for BinHashKind
source§impl Hash for BinHashKind
impl Hash for BinHashKind
source§impl PartialEq for BinHashKind
impl PartialEq for BinHashKind
source§fn eq(&self, other: &BinHashKind) -> bool
fn eq(&self, other: &BinHashKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BinHashKind
impl Eq for BinHashKind
impl StructuralEq for BinHashKind
impl StructuralPartialEq for BinHashKind
Auto Trait Implementations§
impl RefUnwindSafe for BinHashKind
impl Send for BinHashKind
impl Sync for BinHashKind
impl Unpin for BinHashKind
impl UnwindSafe for BinHashKind
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