pub struct Files<T> {
pub f: Option<T>,
pub uf: Option<T>,
pub dos: Option<T>,
pub mac: Option<T>,
pub unix: Option<T>,
}
Expand description
Used only as elements in FileSpec
Fields§
§f: Option<T>
§uf: Option<T>
§dos: Option<T>
§mac: Option<T>
§unix: Option<T>
Trait Implementations§
source§impl<T: DataSize> DataSize for Files<T>
impl<T: DataSize> DataSize for Files<T>
source§const IS_DYNAMIC: bool = T::IS_DYNAMIC
const IS_DYNAMIC: bool = T::IS_DYNAMIC
If
true
, the type has a heap size that can vary at runtime, depending on the actual value.source§const STATIC_HEAP_SIZE: usize = 0usize
const STATIC_HEAP_SIZE: usize = 0usize
The amount of space a value of the type always occupies. If
IS_DYNAMIC
is false, this is
the total amount of heap memory occupied by the value. Otherwise this is a lower bound.source§fn estimate_heap_size(&self) -> usize
fn estimate_heap_size(&self) -> usize
Estimates the size of heap memory taken up by this value. Read more
source§impl<T: DeepClone> DeepClone for Files<T>
impl<T: DeepClone> DeepClone for Files<T>
fn deep_clone(&self, cloner: &mut impl Cloner) -> Result<Self>
source§impl<T: ObjectWrite> ObjectWrite for Files<T>
impl<T: ObjectWrite> ObjectWrite for Files<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Files<T>where T: RefUnwindSafe,
impl<T> Send for Files<T>where T: Send,
impl<T> Sync for Files<T>where T: Sync,
impl<T> Unpin for Files<T>where T: Unpin,
impl<T> UnwindSafe for Files<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