pub struct InitConfig {
pub target: Target,
pub project_name: String,
pub output_dir: PathBuf,
pub generate_examples: bool,
}Expand description
Configuration for initializing a benchmark project
Fields§
§target: TargetTarget platform(s)
project_name: StringProject name
output_dir: PathBufOutput directory for generated files
generate_examples: boolWhether to generate example benchmarks
Trait Implementations§
Source§impl Clone for InitConfig
impl Clone for InitConfig
Source§fn clone(&self) -> InitConfig
fn clone(&self) -> InitConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 InitConfig
impl RefUnwindSafe for InitConfig
impl Send for InitConfig
impl Sync for InitConfig
impl Unpin for InitConfig
impl UnwindSafe for InitConfig
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