#[repr(C)]pub struct _STORAGE_WRITE_CACHE_PROPERTY {
pub Version: DWORD,
pub Size: DWORD,
pub WriteCacheType: WRITE_CACHE_TYPE,
pub WriteCacheEnabled: WRITE_CACHE_ENABLE,
pub WriteCacheChangeable: WRITE_CACHE_CHANGE,
pub WriteThroughSupported: WRITE_THROUGH,
pub FlushCacheSupported: BOOLEAN,
pub UserDefinedPowerProtection: BOOLEAN,
pub NVCacheEnabled: BOOLEAN,
}
Fields§
§Version: DWORD
§Size: DWORD
§WriteCacheType: WRITE_CACHE_TYPE
§WriteCacheEnabled: WRITE_CACHE_ENABLE
§WriteCacheChangeable: WRITE_CACHE_CHANGE
§WriteThroughSupported: WRITE_THROUGH
§FlushCacheSupported: BOOLEAN
§UserDefinedPowerProtection: BOOLEAN
§NVCacheEnabled: BOOLEAN
Trait Implementations§
Source§impl Clone for _STORAGE_WRITE_CACHE_PROPERTY
impl Clone for _STORAGE_WRITE_CACHE_PROPERTY
Source§fn clone(&self) -> _STORAGE_WRITE_CACHE_PROPERTY
fn clone(&self) -> _STORAGE_WRITE_CACHE_PROPERTY
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Ord for _STORAGE_WRITE_CACHE_PROPERTY
impl Ord for _STORAGE_WRITE_CACHE_PROPERTY
Source§fn cmp(&self, other: &_STORAGE_WRITE_CACHE_PROPERTY) -> Ordering
fn cmp(&self, other: &_STORAGE_WRITE_CACHE_PROPERTY) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for _STORAGE_WRITE_CACHE_PROPERTY
impl PartialEq for _STORAGE_WRITE_CACHE_PROPERTY
Source§fn eq(&self, other: &_STORAGE_WRITE_CACHE_PROPERTY) -> bool
fn eq(&self, other: &_STORAGE_WRITE_CACHE_PROPERTY) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for _STORAGE_WRITE_CACHE_PROPERTY
impl PartialOrd for _STORAGE_WRITE_CACHE_PROPERTY
impl Copy for _STORAGE_WRITE_CACHE_PROPERTY
impl Eq for _STORAGE_WRITE_CACHE_PROPERTY
impl StructuralPartialEq for _STORAGE_WRITE_CACHE_PROPERTY
Auto Trait Implementations§
impl Freeze for _STORAGE_WRITE_CACHE_PROPERTY
impl RefUnwindSafe for _STORAGE_WRITE_CACHE_PROPERTY
impl Send for _STORAGE_WRITE_CACHE_PROPERTY
impl Sync for _STORAGE_WRITE_CACHE_PROPERTY
impl Unpin for _STORAGE_WRITE_CACHE_PROPERTY
impl UnwindSafe for _STORAGE_WRITE_CACHE_PROPERTY
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more