pub struct GeneratedSourceFile {
pub relative_path: PathBuf,
pub contents: Vec<u8>,
}Expand description
Source-root-relative generated file written during materialization.
Fields§
§relative_path: PathBufDestination path relative to the materialized source root.
contents: Vec<u8>Complete file contents.
Trait Implementations§
Source§impl Clone for GeneratedSourceFile
impl Clone for GeneratedSourceFile
Source§fn clone(&self) -> GeneratedSourceFile
fn clone(&self) -> GeneratedSourceFile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GeneratedSourceFile
impl Debug for GeneratedSourceFile
impl Eq for GeneratedSourceFile
Source§impl PartialEq for GeneratedSourceFile
impl PartialEq for GeneratedSourceFile
impl StructuralPartialEq for GeneratedSourceFile
Auto Trait Implementations§
impl Freeze for GeneratedSourceFile
impl RefUnwindSafe for GeneratedSourceFile
impl Send for GeneratedSourceFile
impl Sync for GeneratedSourceFile
impl Unpin for GeneratedSourceFile
impl UnsafeUnpin for GeneratedSourceFile
impl UnwindSafe for GeneratedSourceFile
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