Skip to main content

PriceFromWholePoints

Trait PriceFromWholePoints 

Source
pub trait PriceFromWholePoints<XS: XSpec>: From<Subpoints> {
    // Provided method
    fn price_from_whole_points(whole_points: WholePoints) -> Self
       where Self: Sized { ... }
}

Provided Methods§

Source

fn price_from_whole_points(whole_points: WholePoints) -> Self
where Self: Sized,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<XS: XSpec> PriceFromWholePoints<XS> for i8

Source§

impl<XS: XSpec> PriceFromWholePoints<XS> for i16

Source§

impl<XS: XSpec> PriceFromWholePoints<XS> for i32

Source§

impl<XS: XSpec> PriceFromWholePoints<XS> for i64

Source§

impl<XS: XSpec> PriceFromWholePoints<XS> for i128

Implementors§