pub struct OptimizationResult {
pub lz_match_multiplier: f64,
pub entropy_multiplier: f64,
}
Expand description
Result of a brute force optimization.
Fields§
§lz_match_multiplier: f64
Optimized LZ match multiplier
entropy_multiplier: f64
Optimized entropy multiplier
Trait Implementations§
Source§impl Clone for OptimizationResult
impl Clone for OptimizationResult
Source§fn clone(&self) -> OptimizationResult
fn clone(&self) -> OptimizationResult
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OptimizationResult
impl Debug for OptimizationResult
Source§impl Default for OptimizationResult
impl Default for OptimizationResult
Source§fn default() -> OptimizationResult
fn default() -> OptimizationResult
Returns the “default value” for a type. Read more
impl Copy for OptimizationResult
Auto Trait Implementations§
impl Freeze for OptimizationResult
impl RefUnwindSafe for OptimizationResult
impl Send for OptimizationResult
impl Sync for OptimizationResult
impl Unpin for OptimizationResult
impl UnwindSafe for OptimizationResult
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