pub struct SolveConfig {
pub width: usize,
pub height: usize,
pub factor: u32,
pub radius: i32,
pub noise: f64,
pub voting_budget: usize,
pub regions: Vec<SolveRegion>,
}Fields§
§width: usize§height: usize§factor: u32Integer analysis factor.
radius: i32Native refinement radius.
noise: f64The source’s per-channel decode noise.
voting_budget: usize§regions: Vec<SolveRegion>Auto Trait Implementations§
impl Freeze for SolveConfig
impl RefUnwindSafe for SolveConfig
impl Send for SolveConfig
impl Sync for SolveConfig
impl Unpin for SolveConfig
impl UnsafeUnpin for SolveConfig
impl UnwindSafe for SolveConfig
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