windows::Globalization::NumberFormatting

Trait INumberRounder_Impl

pub trait INumberRounder_Impl: IUnknownImpl {
    // Required methods
    fn RoundInt32(&self, value: i32) -> Result<i32>;
    fn RoundUInt32(&self, value: u32) -> Result<u32>;
    fn RoundInt64(&self, value: i64) -> Result<i64>;
    fn RoundUInt64(&self, value: u64) -> Result<u64>;
    fn RoundSingle(&self, value: f32) -> Result<f32>;
    fn RoundDouble(&self, value: f64) -> Result<f64>;
}

Required Methods§

fn RoundInt32(&self, value: i32) -> Result<i32>

fn RoundUInt32(&self, value: u32) -> Result<u32>

fn RoundInt64(&self, value: i64) -> Result<i64>

fn RoundUInt64(&self, value: u64) -> Result<u64>

fn RoundSingle(&self, value: f32) -> Result<f32>

fn RoundDouble(&self, value: f64) -> Result<f64>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§