pub struct FormatInit {
pub extensions: Vec<ExtensionChoice>,
pub preset: bool,
pub state: PathBuf,
pub cache: PathBuf,
}Expand description
What a new project asks of the format’s own init (spec 101).
Fields§
§extensions: Vec<ExtensionChoice>Extensions the person chose (Spec Kit).
preset: boolInstall the format’s evidence preset with the init where it has one
(Spec Kit: the bundled speccoder preset).
state: PathBufspeccoder’s state directory (where a bundled preset is extracted).
cache: PathBufspeccoder’s private cache for this tool: where its settings go instead of the person’s config directory.
Trait Implementations§
Source§impl Clone for FormatInit
impl Clone for FormatInit
Source§impl Debug for FormatInit
impl Debug for FormatInit
impl Eq for FormatInit
Source§impl PartialEq for FormatInit
impl PartialEq for FormatInit
impl StructuralPartialEq for FormatInit
Auto Trait Implementations§
impl Freeze for FormatInit
impl RefUnwindSafe for FormatInit
impl Send for FormatInit
impl Sync for FormatInit
impl Unpin for FormatInit
impl UnsafeUnpin for FormatInit
impl UnwindSafe for FormatInit
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.