Struct ctru_sys::FS_DirectoryEntry
source · #[repr(C)]pub struct FS_DirectoryEntry {
pub name: [u16_; 262],
pub shortName: [c_char; 10],
pub shortExt: [c_char; 4],
pub valid: u8_,
pub reserved: u8_,
pub attributes: u32_,
pub fileSize: u64_,
}
Expand description
Directory entry.
Fields§
§name: [u16_; 262]
< UTF-16 directory name.
shortName: [c_char; 10]
< File name.
shortExt: [c_char; 4]
< File extension.
valid: u8_
< Valid flag. (Always 1)
reserved: u8_
< Reserved.
attributes: u32_
< Attributes.
fileSize: u64_
< File size.
Trait Implementations§
source§impl Clone for FS_DirectoryEntry
impl Clone for FS_DirectoryEntry
source§fn clone(&self) -> FS_DirectoryEntry
fn clone(&self) -> FS_DirectoryEntry
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more