Struct pthash::build::BuildConfiguration
source · pub struct BuildConfiguration {
pub c: f64,
pub alpha: f64,
pub num_partitions: u64,
pub num_buckets: u64,
pub num_threads: u64,
pub seed: u64,
pub ram: u64,
pub tmp_dir: PathBuf,
pub verbose_output: bool,
}
Expand description
Parameter of
build_in_internal_memory_from_bytes
Fields§
§c: f64
§alpha: f64
§num_partitions: u64
§num_buckets: u64
§num_threads: u64
§seed: u64
§ram: u64
§tmp_dir: PathBuf
§verbose_output: bool
Implementations§
source§impl BuildConfiguration
impl BuildConfiguration
pub fn new(tmp_dir: PathBuf) -> BuildConfiguration
Trait Implementations§
source§impl Clone for BuildConfiguration
impl Clone for BuildConfiguration
source§fn clone(&self) -> BuildConfiguration
fn clone(&self) -> BuildConfiguration
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 BuildConfiguration
impl Debug for BuildConfiguration
source§impl PartialEq for BuildConfiguration
impl PartialEq for BuildConfiguration
source§fn eq(&self, other: &BuildConfiguration) -> bool
fn eq(&self, other: &BuildConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BuildConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for BuildConfiguration
impl Send for BuildConfiguration
impl Sync for BuildConfiguration
impl Unpin for BuildConfiguration
impl UnwindSafe for BuildConfiguration
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