pub struct GeneratedFile {
pub relative_path: PathBuf,
pub absolute_path: PathBuf,
pub kind: ArtifactKind,
pub bytes: usize,
}Expand description
A single generated file.
Fields§
§relative_path: PathBufPath relative to the output directory.
absolute_path: PathBufAbsolute path where the file was written.
kind: ArtifactKindWhat kind of artifact this is.
bytes: usizeNumber of bytes written.
Trait Implementations§
Source§impl Clone for GeneratedFile
impl Clone for GeneratedFile
Auto Trait Implementations§
impl Freeze for GeneratedFile
impl RefUnwindSafe for GeneratedFile
impl Send for GeneratedFile
impl Sync for GeneratedFile
impl Unpin for GeneratedFile
impl UnsafeUnpin for GeneratedFile
impl UnwindSafe for GeneratedFile
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