Struct uefi_raw::protocol::file_system::FileInfo
source · #[repr(C)]pub struct FileInfo {
pub size: u64,
pub file_size: u64,
pub physical_size: u64,
pub create_time: Time,
pub last_access_time: Time,
pub modification_time: Time,
pub attribute: FileAttribute,
pub file_name: [Char16; 0],
}
Fields§
§size: u64
§file_size: u64
§physical_size: u64
§create_time: Time
§last_access_time: Time
§modification_time: Time
§attribute: FileAttribute
§file_name: [Char16; 0]
The null-terminated name of the file. For a root directory, this is an empty string.
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 FileInfo
impl RefUnwindSafe for FileInfo
impl Send for FileInfo
impl Sync for FileInfo
impl Unpin for FileInfo
impl UnwindSafe for FileInfo
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