Trait windows::Win32::System::Performance::_ICounterItemUnion_Impl
pub trait _ICounterItemUnion_Impl: Sized {
Show 17 methods
// 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<()>;
fn SetSelected(&self, bstate: VARIANT_BOOL) -> Result<()>;
fn Selected(&self) -> Result<VARIANT_BOOL>;
fn SetVisible(&self, bstate: VARIANT_BOOL) -> Result<()>;
fn Visible(&self) -> Result<VARIANT_BOOL>;
fn GetDataAt(&self, iindex: i32, iwhich: SysmonDataType) -> Result<VARIANT>;
}
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<()>
fn SetSelected(&self, bstate: VARIANT_BOOL) -> Result<()>
fn Selected(&self) -> Result<VARIANT_BOOL>
fn SetVisible(&self, bstate: VARIANT_BOOL) -> Result<()>
fn Visible(&self) -> Result<VARIANT_BOOL>
fn GetDataAt(&self, iindex: i32, iwhich: SysmonDataType) -> Result<VARIANT>
Object Safety§
This trait is not object safe.