pub struct File<T>where
T: FileSource,{ /* private fields */ }
Implementations§
Source§impl File<FileSourceString>
impl File<FileSourceString>
pub fn from_str(s: &str, format: FileFormat) -> Self
Source§impl File<FileSourceFile>
impl File<FileSourceFile>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for File<T>where
T: Freeze,
impl<T> RefUnwindSafe for File<T>where
T: RefUnwindSafe,
impl<T> Send for File<T>where
T: Send,
impl<T> Sync for File<T>where
T: Sync,
impl<T> Unpin for File<T>where
T: Unpin,
impl<T> UnwindSafe for File<T>where
T: UnwindSafe,
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