pub struct InitOptions<'a> {
pub name: &'a str,
pub template: &'a str,
pub initialize_git: bool,
}Fields§
§name: &'a str§template: &'a str§initialize_git: boolTrait Implementations§
Source§impl<'a> Clone for InitOptions<'a>
impl<'a> Clone for InitOptions<'a>
Source§fn clone(&self) -> InitOptions<'a>
fn clone(&self) -> InitOptions<'a>
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<'a> Freeze for InitOptions<'a>
impl<'a> RefUnwindSafe for InitOptions<'a>
impl<'a> Send for InitOptions<'a>
impl<'a> Sync for InitOptions<'a>
impl<'a> Unpin for InitOptions<'a>
impl<'a> UnsafeUnpin for InitOptions<'a>
impl<'a> UnwindSafe for InitOptions<'a>
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