pub struct FileAttributes(/* private fields */);Expand description
File attributes (MS-DOS style)
Implementations§
Source§impl FileAttributes
impl FileAttributes
pub fn is_readonly(&self) -> bool
pub fn is_system(&self) -> bool
pub fn is_directory(&self) -> bool
pub fn is_archive(&self) -> bool
Trait Implementations§
Source§impl Clone for FileAttributes
impl Clone for FileAttributes
Source§fn clone(&self) -> FileAttributes
fn clone(&self) -> FileAttributes
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 moreSource§impl Debug for FileAttributes
impl Debug for FileAttributes
Source§impl Default for FileAttributes
impl Default for FileAttributes
Source§fn default() -> FileAttributes
fn default() -> FileAttributes
Returns the “default value” for a type. Read more
Source§impl From<u8> for FileAttributes
impl From<u8> for FileAttributes
impl Copy for FileAttributes
Auto Trait Implementations§
impl Freeze for FileAttributes
impl RefUnwindSafe for FileAttributes
impl Send for FileAttributes
impl Sync for FileAttributes
impl Unpin for FileAttributes
impl UnwindSafe for FileAttributes
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