pub struct TestFile<'a> {
pub parent: String,
pub name: String,
pub contents: &'a str,
}Expand description
A test file
Fields§
§parent: String§name: String§contents: &'a strImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for TestFile<'a>
impl<'a> RefUnwindSafe for TestFile<'a>
impl<'a> Send for TestFile<'a>
impl<'a> Sync for TestFile<'a>
impl<'a> Unpin for TestFile<'a>
impl<'a> UnsafeUnpin for TestFile<'a>
impl<'a> UnwindSafe for TestFile<'a>
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