Struct win_sys::FileSystem::NTMS_PARTITIONINFORMATIONW
source · [−]#[repr(C)]pub struct NTMS_PARTITIONINFORMATIONW {
pub PhysicalMedia: GUID,
pub LogicalMedia: GUID,
pub State: NtmsPartitionState,
pub Side: u16,
pub dwOmidLabelIdLength: u32,
pub OmidLabelId: [u8; 255],
pub szOmidLabelType: [u16; 64],
pub szOmidLabelInfo: [u16; 256],
pub dwMountCount: u32,
pub dwAllocateCount: u32,
pub Capacity: i64,
}Expand description
Required features: ‘Win32_Storage_FileSystem’
Fields
PhysicalMedia: GUIDLogicalMedia: GUIDState: NtmsPartitionStateSide: u16dwOmidLabelIdLength: u32OmidLabelId: [u8; 255]szOmidLabelType: [u16; 64]szOmidLabelInfo: [u16; 256]dwMountCount: u32dwAllocateCount: u32Capacity: i64Trait Implementations
sourceimpl Clone for NTMS_PARTITIONINFORMATIONW
impl Clone for NTMS_PARTITIONINFORMATIONW
sourcepub fn clone(&self) -> NTMS_PARTITIONINFORMATIONW
pub fn clone(&self) -> NTMS_PARTITIONINFORMATIONW
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for NTMS_PARTITIONINFORMATIONW
impl Debug for NTMS_PARTITIONINFORMATIONW
sourceimpl Default for NTMS_PARTITIONINFORMATIONW
impl Default for NTMS_PARTITIONINFORMATIONW
sourcepub fn default() -> NTMS_PARTITIONINFORMATIONW
pub fn default() -> NTMS_PARTITIONINFORMATIONW
Returns the “default value” for a type. Read more
impl Copy for NTMS_PARTITIONINFORMATIONW
impl Eq for NTMS_PARTITIONINFORMATIONW
Auto Trait Implementations
impl RefUnwindSafe for NTMS_PARTITIONINFORMATIONW
impl Send for NTMS_PARTITIONINFORMATIONW
impl Sync for NTMS_PARTITIONINFORMATIONW
impl Unpin for NTMS_PARTITIONINFORMATIONW
impl UnwindSafe for NTMS_PARTITIONINFORMATIONW
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more