pub trait TickSchemeRule: Display {
// Required methods
fn next_bid_price(&self, value: f64, n: i32, precision: u8) -> Option<Price>;
fn next_ask_price(&self, value: f64, n: i32, precision: u8) -> Option<Price>;
}Required Methods§
fn next_bid_price(&self, value: f64, n: i32, precision: u8) -> Option<Price>
fn next_ask_price(&self, value: f64, n: i32, precision: u8) -> Option<Price>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".