pub struct ModuleFile {
pub path: PathBuf,
pub name: String,
pub size: u64,
pub modified: SystemTime,
}Expand description
Module file information.
Fields§
§path: PathBufPath to the module file.
name: StringModule name (derived from filename).
size: u64File size in bytes.
modified: SystemTimeLast modified timestamp.
Trait Implementations§
Source§impl Clone for ModuleFile
impl Clone for ModuleFile
Source§fn clone(&self) -> ModuleFile
fn clone(&self) -> ModuleFile
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ModuleFile
impl RefUnwindSafe for ModuleFile
impl Send for ModuleFile
impl Sync for ModuleFile
impl Unpin for ModuleFile
impl UnsafeUnpin for ModuleFile
impl UnwindSafe for ModuleFile
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