Struct BidAskPenalty
pub struct BidAskPenalty { /* private fields */ }Implementations§
§impl BidAskPenalty
impl BidAskPenalty
pub fn new(weight: f64, vega_weighted: bool) -> Result<Self, FerroRiskError>
pub fn new(weight: f64, vega_weighted: bool) -> Result<Self, FerroRiskError>
pub const fn vega_weighted(self) -> bool
pub const fn vega_weighted(self) -> bool
Trait Implementations§
§impl Clone for BidAskPenalty
impl Clone for BidAskPenalty
§fn clone(&self) -> BidAskPenalty
fn clone(&self) -> BidAskPenalty
1.0.0 (const: )§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
§impl Default for BidAskPenalty
impl Default for BidAskPenalty
§impl PartialEq for BidAskPenalty
impl PartialEq for BidAskPenalty
impl Copy for BidAskPenalty
impl StructuralPartialEq for BidAskPenalty
Auto Trait Implementations§
impl Freeze for BidAskPenalty
impl RefUnwindSafe for BidAskPenalty
impl Send for BidAskPenalty
impl Sync for BidAskPenalty
impl Unpin for BidAskPenalty
impl UnsafeUnpin for BidAskPenalty
impl UnwindSafe for BidAskPenalty
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)