Struct windows_native::ntexapi::ST_STATS

source ยท
#[repr(C)]
pub struct ST_STATS { pub Size: u32, pub CompressionFormat: u16, pub Spare: u16, pub Basic: ST_STATS_1, pub Io: ST_STATS_2, /* private fields */ }

Fieldsยง

ยงSize: u32ยงCompressionFormat: u16ยงSpare: u16ยงBasic: ST_STATS_1ยงIo: ST_STATS_2

Implementationsยง

sourceยง

impl ST_STATS

source

pub fn Version(&self) -> u32

source

pub fn set_Version(&mut self, val: u32)

source

pub fn Level(&self) -> u32

source

pub fn set_Level(&mut self, val: u32)

source

pub fn StoreType(&self) -> u32

source

pub fn set_StoreType(&mut self, val: u32)

source

pub fn NoDuplication(&self) -> u32

source

pub fn set_NoDuplication(&mut self, val: u32)

source

pub fn NoCompression(&self) -> u32

source

pub fn set_NoCompression(&mut self, val: u32)

source

pub fn EncryptionStrength(&self) -> u32

source

pub fn set_EncryptionStrength(&mut self, val: u32)

source

pub fn VirtualRegions(&self) -> u32

source

pub fn set_VirtualRegions(&mut self, val: u32)

source

pub fn Spare0(&self) -> u32

source

pub fn set_Spare0(&mut self, val: u32)

source

pub fn new_bitfield_1( Version: u32, Level: u32, StoreType: u32, NoDuplication: u32, NoCompression: u32, EncryptionStrength: u32, VirtualRegions: u32, Spare0: u32 ) -> BitfieldUnit<[u8; 4]>

Trait Implementationsยง

sourceยง

impl Debug for ST_STATS

sourceยง

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
sourceยง

impl Default for ST_STATS

sourceยง

fn default() -> Self

Returns the โ€œdefault valueโ€ for a type. Read more

Auto Trait Implementationsยง

Blanket Implementationsยง

sourceยง

impl<T> Any for Twhere T: 'static + ?Sized,

sourceยง

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
sourceยง

impl<T> Borrow<T> for Twhere T: ?Sized,

sourceยง

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
sourceยง

impl<T> BorrowMut<T> for Twhere T: ?Sized,

sourceยง

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
sourceยง

impl<T> From<T> for T

sourceยง

fn from(t: T) -> T

Returns the argument unchanged.

sourceยง

impl<T, U> Into<U> for Twhere U: From<T>,

sourceยง

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

sourceยง

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

ยง

type Error = Infallible

The type returned in the event of a conversion error.
sourceยง

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
sourceยง

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

ยง

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
sourceยง

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.