Struct SurfaceRepairPolicy
pub struct SurfaceRepairPolicy { /* private fields */ }Implementations§
§impl SurfaceRepairPolicy
impl SurfaceRepairPolicy
pub fn new(
diagnostics: StaticArbitrageCheckPolicy,
max_iterations: u32,
repair_butterfly: bool,
repair_calendar: bool,
) -> Result<Self, FerroRiskError>
pub fn new( diagnostics: StaticArbitrageCheckPolicy, max_iterations: u32, repair_butterfly: bool, repair_calendar: bool, ) -> Result<Self, FerroRiskError>
pub const fn diagnostics(self) -> StaticArbitrageCheckPolicy
pub const fn max_iterations(self) -> u32
pub const fn repair_butterfly(self) -> bool
pub const fn repair_calendar(self) -> bool
pub fn with_diagnostics(self, diagnostics: StaticArbitrageCheckPolicy) -> Self
pub fn with_max_iterations(self, max_iterations: u32) -> Self
pub fn with_repair_butterfly(self, repair_butterfly: bool) -> Self
pub fn with_repair_calendar(self, repair_calendar: bool) -> Self
Trait Implementations§
§impl Clone for SurfaceRepairPolicy
impl Clone for SurfaceRepairPolicy
§fn clone(&self) -> SurfaceRepairPolicy
fn clone(&self) -> SurfaceRepairPolicy
1.0.0 (const: )§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
§impl Default for SurfaceRepairPolicy
impl Default for SurfaceRepairPolicy
§impl PartialEq for SurfaceRepairPolicy
impl PartialEq for SurfaceRepairPolicy
impl Copy for SurfaceRepairPolicy
impl StructuralPartialEq for SurfaceRepairPolicy
Auto Trait Implementations§
impl Freeze for SurfaceRepairPolicy
impl RefUnwindSafe for SurfaceRepairPolicy
impl Send for SurfaceRepairPolicy
impl Sync for SurfaceRepairPolicy
impl Unpin for SurfaceRepairPolicy
impl UnsafeUnpin for SurfaceRepairPolicy
impl UnwindSafe for SurfaceRepairPolicy
Blanket Implementations§
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)