pub struct File {
pub filename: Utf8PathBuf,
pub longname: String,
pub attrs: FileAttributes,
}Fields§
§filename: Utf8PathBuf§longname: String§attrs: FileAttributesImplementations§
Source§impl File
impl File
pub fn new(attrs: FileAttributes, filename: Utf8PathBuf) -> Self
pub fn binsize(&self) -> u32
Trait Implementations§
impl Eq for File
impl StructuralPartialEq for File
Auto Trait Implementations§
impl Freeze for File
impl RefUnwindSafe for File
impl Send for File
impl Sync for File
impl Unpin for File
impl UnwindSafe for File
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