pub struct UserFile {
pub basename: String,
pub file: UniversalFile,
}
Expand description
A file that was supplied by a user, as opposed to by the application itself (like font resources and such).
Fields
basename: String
Per UNIX convention, basename is the filename (including extension) part. This is the only part of the filename that is exposed on all platforms (Wasm hides the full path).
file: UniversalFile
The actual file handle.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for UserFile
impl UnwindSafe for UserFile
Blanket Implementations
Mutably borrows from an owned value. Read more