pub struct FileSketch {
pub ksize: u8,
pub scaled: u64,
pub canonical: bool,
pub seed: u64,
pub hv_d: usize,
pub hv_quant_bits: u8,
pub hv_norm_2: i32,
pub file_str: String,
pub hv: Vec<i16>,
}Fields§
§ksize: u8§scaled: u64§canonical: bool§seed: u64§hv_d: usize§hv_quant_bits: u8§hv_norm_2: i32§file_str: String§hv: Vec<i16>Trait Implementations§
Source§impl Clone for FileSketch
impl Clone for FileSketch
Source§fn clone(&self) -> FileSketch
fn clone(&self) -> FileSketch
Returns a duplicate 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 FileSketch
impl Debug for FileSketch
Source§impl<'de> Deserialize<'de> for FileSketch
impl<'de> Deserialize<'de> for FileSketch
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FileSketch
impl PartialEq for FileSketch
Source§impl Serialize for FileSketch
impl Serialize for FileSketch
impl StructuralPartialEq for FileSketch
Auto Trait Implementations§
impl Freeze for FileSketch
impl RefUnwindSafe for FileSketch
impl Send for FileSketch
impl Sync for FileSketch
impl Unpin for FileSketch
impl UnwindSafe for FileSketch
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more