pub struct SketchParams {
pub path: PathBuf,
pub out_file: PathBuf,
pub sketch_method: String,
pub canonical: bool,
pub device: String,
pub ksize: u8,
pub seed: u64,
pub scaled: u64,
pub hv_d: usize,
pub hv_quant_scale: f32,
pub if_compressed: bool,
}Fields§
§path: PathBuf§out_file: PathBuf§sketch_method: String§canonical: bool§device: String§ksize: u8§seed: u64§scaled: u64§hv_d: usize§hv_quant_scale: f32§if_compressed: boolImplementations§
Source§impl SketchParams
impl SketchParams
pub fn new(params: &CliParams) -> SketchParams
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SketchParams
impl RefUnwindSafe for SketchParams
impl Send for SketchParams
impl Sync for SketchParams
impl Unpin for SketchParams
impl UnwindSafe for SketchParams
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> 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