#[repr(C)]pub struct FileSystemInfo {
pub size: u64,
pub read_only: u8,
pub volume_size: u64,
pub free_space: u64,
pub block_size: u32,
pub volume_label: [Char16; 0],
}
Fields§
§size: u64
§read_only: u8
§volume_size: u64
§free_space: u64
§block_size: u32
§volume_label: [Char16; 0]
The null-terminated label of the volume.
Note that this field is actually a variable-length array. In order to avoid making this struct a DST, the field is represented as a zero-length array here.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileSystemInfo
impl RefUnwindSafe for FileSystemInfo
impl Send for FileSystemInfo
impl Sync for FileSystemInfo
impl Unpin for FileSystemInfo
impl UnwindSafe for FileSystemInfo
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