pub struct File { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Arbitrary for File
impl Arbitrary for File
Source§type Parameters = (<PathBuf as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters)
type Parameters = (<PathBuf as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters)
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = Map<(<PathBuf as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy), fn((PathBuf, Option<String>)) -> File>
type Strategy = Map<(<PathBuf as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy), fn((PathBuf, Option<String>)) -> File>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl Ord for File
impl Ord for File
Source§impl PartialOrd for File
impl PartialOrd for File
impl Eq for File
impl StructuralPartialEq for File
Auto Trait Implementations§
impl Freeze for File
impl RefUnwindSafe for File
impl Send for File
impl Sync for File
impl Unpin for File
impl UnsafeUnpin for File
impl UnwindSafe for File
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