pub struct SolveArgs {
pub cost: String,
pub vary: Vec<Vary>,
pub stops: Stops,
pub sets: Vec<(String, String)>,
pub rate: Option<u32>,
pub threads: Option<NonZeroUsize>,
pub cache: CacheAt,
pub write: bool,
pub confirm: bool,
}Fields§
§cost: StringThe cost, or @fits/<name>: read once the composition is known.
vary: Vec<Vary>§stops: Stops§sets: Vec<(String, String)>§rate: Option<u32>§threads: Option<NonZeroUsize>§cache: CacheAt§write: bool§confirm: boolTrait Implementations§
impl StructuralPartialEq for SolveArgs
Auto Trait Implementations§
impl Freeze for SolveArgs
impl RefUnwindSafe for SolveArgs
impl Send for SolveArgs
impl Sync for SolveArgs
impl Unpin for SolveArgs
impl UnsafeUnpin for SolveArgs
impl UnwindSafe for SolveArgs
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