pub struct FeatureHash {
pub hash: u64,
pub weight: u32,
}Expand description
A pre-hashed feature.
Fields§
§hash: u64§weight: u32Implementations§
Trait Implementations§
Source§impl Clone for FeatureHash
impl Clone for FeatureHash
Source§fn clone(&self) -> FeatureHash
fn clone(&self) -> FeatureHash
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FeatureHash
Source§impl Debug for FeatureHash
impl Debug for FeatureHash
impl Eq for FeatureHash
Source§impl PartialEq for FeatureHash
impl PartialEq for FeatureHash
impl StructuralPartialEq for FeatureHash
Auto Trait Implementations§
impl Freeze for FeatureHash
impl RefUnwindSafe for FeatureHash
impl Send for FeatureHash
impl Sync for FeatureHash
impl Unpin for FeatureHash
impl UnsafeUnpin for FeatureHash
impl UnwindSafe for FeatureHash
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