pub struct Ma57Config {}Expand description
MA57 backend knobs snapshotted off an OptionsList, ready to be
handed to a backend factory.
The type exists — rather than passing pounce_hsl::Ma57Options
directly — so that the factory signature is the same shape whether or
not the ma57 cargo feature is on. pounce-py, pounce-cinterface
and pounce-restoration all call default_backend_factory and none
of them can name a pounce-hsl type; without the feature this struct
carries nothing and costs nothing.
Build it with ma57_config_from_options. It is the MA57 half of
what feral_config_from_options does for FERAL, and the asymmetry
between the two was the root cause of gh#825: FERAL’s knobs were
threaded into the factory and MA57’s were not, so the factory had
nothing to give MA57 and called Ma57SolverInterface::new() — which
hard-codes the defaults. Every ma57_* option was registered,
documented, accepted, and then silently discarded.
Trait Implementations§
Source§impl Clone for Ma57Config
impl Clone for Ma57Config
Source§fn clone(&self) -> Ma57Config
fn clone(&self) -> Ma57Config
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for Ma57Config
impl Debug for Ma57Config
Source§impl Default for Ma57Config
impl Default for Ma57Config
Source§fn default() -> Ma57Config
fn default() -> Ma57Config
Auto Trait Implementations§
impl Freeze for Ma57Config
impl RefUnwindSafe for Ma57Config
impl Send for Ma57Config
impl Sync for Ma57Config
impl Unpin for Ma57Config
impl UnsafeUnpin for Ma57Config
impl UnwindSafe for Ma57Config
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T, U> Imply<T> for U
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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> ⓘ
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> ⓘ
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