#[repr(C)]pub struct _DEVICE_LB_PROVISIONING_DESCRIPTOR {
pub Version: DWORD,
pub Size: DWORD,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub Reserved1: [BYTE; 7],
pub OptimalUnmapGranularity: DWORDLONG,
pub UnmapGranularityAlignment: DWORDLONG,
pub MaxUnmapLbaCount: DWORD,
pub MaxUnmapBlockDescriptorCount: DWORD,
}
Fields§
§Version: DWORD
§Size: DWORD
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§Reserved1: [BYTE; 7]
§OptimalUnmapGranularity: DWORDLONG
§UnmapGranularityAlignment: DWORDLONG
§MaxUnmapLbaCount: DWORD
§MaxUnmapBlockDescriptorCount: DWORD
Implementations§
Source§impl _DEVICE_LB_PROVISIONING_DESCRIPTOR
impl _DEVICE_LB_PROVISIONING_DESCRIPTOR
pub fn ThinProvisioningEnabled(&self) -> BYTE
pub fn set_ThinProvisioningEnabled(&mut self, val: BYTE)
pub unsafe fn ThinProvisioningEnabled_raw(this: *const Self) -> BYTE
pub unsafe fn set_ThinProvisioningEnabled_raw(this: *mut Self, val: BYTE)
pub fn ThinProvisioningReadZeros(&self) -> BYTE
pub fn set_ThinProvisioningReadZeros(&mut self, val: BYTE)
pub unsafe fn ThinProvisioningReadZeros_raw(this: *const Self) -> BYTE
pub unsafe fn set_ThinProvisioningReadZeros_raw(this: *mut Self, val: BYTE)
pub fn AnchorSupported(&self) -> BYTE
pub fn set_AnchorSupported(&mut self, val: BYTE)
pub unsafe fn AnchorSupported_raw(this: *const Self) -> BYTE
pub unsafe fn set_AnchorSupported_raw(this: *mut Self, val: BYTE)
pub fn UnmapGranularityAlignmentValid(&self) -> BYTE
pub fn set_UnmapGranularityAlignmentValid(&mut self, val: BYTE)
pub unsafe fn UnmapGranularityAlignmentValid_raw(this: *const Self) -> BYTE
pub unsafe fn set_UnmapGranularityAlignmentValid_raw(this: *mut Self, val: BYTE)
pub fn GetFreeSpaceSupported(&self) -> BYTE
pub fn set_GetFreeSpaceSupported(&mut self, val: BYTE)
pub unsafe fn GetFreeSpaceSupported_raw(this: *const Self) -> BYTE
pub unsafe fn set_GetFreeSpaceSupported_raw(this: *mut Self, val: BYTE)
pub fn MapSupported(&self) -> BYTE
pub fn set_MapSupported(&mut self, val: BYTE)
pub unsafe fn MapSupported_raw(this: *const Self) -> BYTE
pub unsafe fn set_MapSupported_raw(this: *mut Self, val: BYTE)
pub fn new_bitfield_1( ThinProvisioningEnabled: BYTE, ThinProvisioningReadZeros: BYTE, AnchorSupported: BYTE, UnmapGranularityAlignmentValid: BYTE, GetFreeSpaceSupported: BYTE, MapSupported: BYTE, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for _DEVICE_LB_PROVISIONING_DESCRIPTOR
impl Clone for _DEVICE_LB_PROVISIONING_DESCRIPTOR
Source§fn clone(&self) -> _DEVICE_LB_PROVISIONING_DESCRIPTOR
fn clone(&self) -> _DEVICE_LB_PROVISIONING_DESCRIPTOR
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 _DEVICE_LB_PROVISIONING_DESCRIPTOR
impl Ord for _DEVICE_LB_PROVISIONING_DESCRIPTOR
Source§fn cmp(&self, other: &_DEVICE_LB_PROVISIONING_DESCRIPTOR) -> Ordering
fn cmp(&self, other: &_DEVICE_LB_PROVISIONING_DESCRIPTOR) -> 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 _DEVICE_LB_PROVISIONING_DESCRIPTOR
impl PartialEq for _DEVICE_LB_PROVISIONING_DESCRIPTOR
Source§fn eq(&self, other: &_DEVICE_LB_PROVISIONING_DESCRIPTOR) -> bool
fn eq(&self, other: &_DEVICE_LB_PROVISIONING_DESCRIPTOR) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for _DEVICE_LB_PROVISIONING_DESCRIPTOR
impl PartialOrd for _DEVICE_LB_PROVISIONING_DESCRIPTOR
impl Copy for _DEVICE_LB_PROVISIONING_DESCRIPTOR
impl Eq for _DEVICE_LB_PROVISIONING_DESCRIPTOR
impl StructuralPartialEq for _DEVICE_LB_PROVISIONING_DESCRIPTOR
Auto Trait Implementations§
impl Freeze for _DEVICE_LB_PROVISIONING_DESCRIPTOR
impl RefUnwindSafe for _DEVICE_LB_PROVISIONING_DESCRIPTOR
impl Send for _DEVICE_LB_PROVISIONING_DESCRIPTOR
impl Sync for _DEVICE_LB_PROVISIONING_DESCRIPTOR
impl Unpin for _DEVICE_LB_PROVISIONING_DESCRIPTOR
impl UnwindSafe for _DEVICE_LB_PROVISIONING_DESCRIPTOR
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