pub struct CodeFile {
pub filename: String,
pub dir: String,
pub code: String,
}
Expand description
A generated code file, returned so it can be written to disk.
Fields§
§filename: String
§dir: String
§code: String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CodeFile
impl RefUnwindSafe for CodeFile
impl Send for CodeFile
impl Sync for CodeFile
impl Unpin for CodeFile
impl UnwindSafe for CodeFile
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