pub struct MemFile {
pub content: String,
pub mtime_ns: i64,
}Expand description
One in-memory file.
Fields§
§content: String§mtime_ns: i64Trait Implementations§
impl Eq for MemFile
impl StructuralPartialEq for MemFile
Auto Trait Implementations§
impl Freeze for MemFile
impl RefUnwindSafe for MemFile
impl Send for MemFile
impl Sync for MemFile
impl Unpin for MemFile
impl UnsafeUnpin for MemFile
impl UnwindSafe for MemFile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.