pub struct File { /* private fields */ }
Implementations§
Source§impl File
impl File
pub fn path(&self) -> &Path
pub fn visible(&self) -> bool
pub fn alias(&self) -> Option<&str>
pub fn container(&self) -> Option<ContainerType>
pub fn data(&self) -> Option<&[u8]>
pub fn data_vec(self) -> Option<Vec<u8>>
pub fn data_vec_cloned(&self) -> Option<Vec<u8>>
Trait Implementations§
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