pub struct GenerateOptions {
pub install: bool,
pub verbose: bool,
pub standalone: bool,
}Expand description
Options controlling code generation behaviour.
Fields§
§install: boolInstall the generated package after generation.
Python: copy to site-packages. Rust: add to workspace Cargo.toml.
verbose: boolPrint verbose progress and IR debug output.
standalone: bool(Rust only) Also emit a Cargo.toml for the generated crate.
Default mode produces bare source files that integrate into an existing
Cargo workspace. Pass true when you want a self-contained crate.
Trait Implementations§
Source§impl Clone for GenerateOptions
impl Clone for GenerateOptions
Source§fn clone(&self) -> GenerateOptions
fn clone(&self) -> GenerateOptions
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 moreSource§impl Debug for GenerateOptions
impl Debug for GenerateOptions
Source§impl Default for GenerateOptions
impl Default for GenerateOptions
Source§fn default() -> GenerateOptions
fn default() -> GenerateOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GenerateOptions
impl RefUnwindSafe for GenerateOptions
impl Send for GenerateOptions
impl Sync for GenerateOptions
impl Unpin for GenerateOptions
impl UnsafeUnpin for GenerateOptions
impl UnwindSafe for GenerateOptions
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