pub struct ScaffoldFile {
pub target: &'static str,
pub content: &'static str,
}Expand description
A single file to scaffold: a target path (relative to the project root) and its embedded content.
Fields§
§target: &'static strTarget path relative to the project root (e.g. "CLAUDE.md").
content: &'static strEmbedded file content.
Auto Trait Implementations§
impl Freeze for ScaffoldFile
impl RefUnwindSafe for ScaffoldFile
impl Send for ScaffoldFile
impl Sync for ScaffoldFile
impl Unpin for ScaffoldFile
impl UnsafeUnpin for ScaffoldFile
impl UnwindSafe for ScaffoldFile
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