pub struct SubdirInstruction {
pub path: PathBuf,
pub relative_path: String,
pub content: String,
}Expand description
An instruction file discovered from a subdirectory.
Fields§
§path: PathBufPath to the instruction file.
relative_path: StringRelative path from project root for display.
content: StringFile contents.
Trait Implementations§
Source§impl Clone for SubdirInstruction
impl Clone for SubdirInstruction
Source§fn clone(&self) -> SubdirInstruction
fn clone(&self) -> SubdirInstruction
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 moreAuto Trait Implementations§
impl Freeze for SubdirInstruction
impl RefUnwindSafe for SubdirInstruction
impl Send for SubdirInstruction
impl Sync for SubdirInstruction
impl Unpin for SubdirInstruction
impl UnsafeUnpin for SubdirInstruction
impl UnwindSafe for SubdirInstruction
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