pub struct NewOptions {
pub name: String,
pub target_parent: PathBuf,
}Expand description
Inputs to one deterministic scaffold generation.
Fields§
§name: StringName used by the application and component.
target_parent: PathBufParent directory beneath which the named project is created.
Trait Implementations§
Source§impl Clone for NewOptions
impl Clone for NewOptions
Source§fn clone(&self) -> NewOptions
fn clone(&self) -> NewOptions
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 NewOptions
impl RefUnwindSafe for NewOptions
impl Send for NewOptions
impl Sync for NewOptions
impl Unpin for NewOptions
impl UnsafeUnpin for NewOptions
impl UnwindSafe for NewOptions
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