Trait windows::Win32::System::Performance::ICounterItem_Impl

pub trait ICounterItem_Impl: Sized {
    // Required methods
    fn Value(&self) -> Result<f64>;
    fn SetColor(&self, color: u32) -> Result<()>;
    fn Color(&self) -> Result<u32>;
    fn SetWidth(&self, iwidth: i32) -> Result<()>;
    fn Width(&self) -> Result<i32>;
    fn SetLineStyle(&self, ilinestyle: i32) -> Result<()>;
    fn LineStyle(&self) -> Result<i32>;
    fn SetScaleFactor(&self, iscale: i32) -> Result<()>;
    fn ScaleFactor(&self) -> Result<i32>;
    fn Path(&self) -> Result<BSTR>;
    fn GetValue(&self, value: *mut f64, status: *mut i32) -> Result<()>;
    fn GetStatistics(
        &self,
        max: *mut f64,
        min: *mut f64,
        avg: *mut f64,
        status: *mut i32,
    ) -> Result<()>;
}

Required Methods§

fn Value(&self) -> Result<f64>

fn SetColor(&self, color: u32) -> Result<()>

fn Color(&self) -> Result<u32>

fn SetWidth(&self, iwidth: i32) -> Result<()>

fn Width(&self) -> Result<i32>

fn SetLineStyle(&self, ilinestyle: i32) -> Result<()>

fn LineStyle(&self) -> Result<i32>

fn SetScaleFactor(&self, iscale: i32) -> Result<()>

fn ScaleFactor(&self) -> Result<i32>

fn Path(&self) -> Result<BSTR>

fn GetValue(&self, value: *mut f64, status: *mut i32) -> Result<()>

fn GetStatistics( &self, max: *mut f64, min: *mut f64, avg: *mut f64, status: *mut i32, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§