pub struct OptimizationProperties {
pub score: u64,
pub ready: bool,
}
Expand description
The properties of a builder.
Fields§
§score: u64
The score of the optimization, higher is better.
ready: bool
If the operation is ready to be executed.
Trait Implementations§
Source§impl Clone for OptimizationProperties
impl Clone for OptimizationProperties
Source§fn clone(&self) -> OptimizationProperties
fn clone(&self) -> OptimizationProperties
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 OptimizationProperties
impl Debug for OptimizationProperties
Source§impl Default for OptimizationProperties
impl Default for OptimizationProperties
Source§fn default() -> OptimizationProperties
fn default() -> OptimizationProperties
Returns the “default value” for a type. Read more
impl Copy for OptimizationProperties
Auto Trait Implementations§
impl Freeze for OptimizationProperties
impl RefUnwindSafe for OptimizationProperties
impl Send for OptimizationProperties
impl Sync for OptimizationProperties
impl Unpin for OptimizationProperties
impl UnwindSafe for OptimizationProperties
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