pub struct File<'a, 'b> {
pub path: &'b Path,
/* private fields */
}Expand description
File object.
Fields§
§path: &'b PathImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'b> Freeze for File<'a, 'b>
impl<'a, 'b> RefUnwindSafe for File<'a, 'b>
impl<'a, 'b> Send for File<'a, 'b>
impl<'a, 'b> Sync for File<'a, 'b>
impl<'a, 'b> Unpin for File<'a, 'b>
impl<'a, 'b> UnwindSafe for File<'a, 'b>
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