pub struct SerdeFile<T, D> { /* private fields */ }
Expand description
Argument that represents a serialized file. The argument provided by the caller is the path to the file that is deserialized immediately on load. The original path is preserved and accessible with SerdeFile::path
Implementations§
Trait Implementations§
Source§impl<T, D> Ord for SerdeFile<T, D>where
T: Ord,
impl<T, D> Ord for SerdeFile<T, D>where
T: Ord,
Source§impl<T, D> PartialOrd<T> for SerdeFile<T, D>where
T: PartialOrd,
impl<T, D> PartialOrd<T> for SerdeFile<T, D>where
T: PartialOrd,
Source§impl<T, D> PartialOrd for SerdeFile<T, D>where
T: PartialOrd,
impl<T, D> PartialOrd for SerdeFile<T, D>where
T: PartialOrd,
impl<T, D> Eq for SerdeFile<T, D>where
T: Eq,
Auto Trait Implementations§
impl<T, D> Freeze for SerdeFile<T, D>where
T: Freeze,
impl<T, D> RefUnwindSafe for SerdeFile<T, D>where
T: RefUnwindSafe,
D: RefUnwindSafe,
impl<T, D> Send for SerdeFile<T, D>
impl<T, D> Sync for SerdeFile<T, D>
impl<T, D> Unpin for SerdeFile<T, D>
impl<T, D> UnwindSafe for SerdeFile<T, D>where
T: UnwindSafe,
D: 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