pub enum PriceMapping {
Linear,
Log,
}Expand description
Value mapping of a price scale.
Variants§
Trait Implementations§
Source§impl Clone for PriceMapping
impl Clone for PriceMapping
impl Copy for PriceMapping
Source§impl Debug for PriceMapping
impl Debug for PriceMapping
Source§impl Default for PriceMapping
impl Default for PriceMapping
impl Eq for PriceMapping
Source§impl Hash for PriceMapping
impl Hash for PriceMapping
Source§impl PartialEq for PriceMapping
impl PartialEq for PriceMapping
impl StructuralPartialEq for PriceMapping
Auto Trait Implementations§
impl Forget for PriceMapping
impl Freeze for PriceMapping
impl Move for PriceMapping
impl RefUnwindSafe for PriceMapping
impl Send for PriceMapping
impl Sync for PriceMapping
impl Unpin for PriceMapping
impl UnsafeUnpin for PriceMapping
impl UnwindSafe for PriceMapping
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