pub struct ChildPath { /* fields omitted */ }
Expand description
A path within a TempDir
See Trait Implementations.
use assert_fs::prelude::*;
let temp = assert_fs::TempDir::new().unwrap();
let input_file = temp.child("foo.txt");
input_file.touch().unwrap();
temp.child("bar.txt").touch().unwrap();
temp.close().unwrap();
Wrap a path for use with extension traits.
See trait implementations or PathChild
for more details.
The resulting type after dereferencing.
Access a path within the temp directory. Read more
Copy files and directories into the current path from the source
according to the glob
patterns
. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,