pub struct SweetCli {
pub bindgen_args: Option<String>,
pub cargo_args: Option<String>,
pub example: String,
pub matches: Vec<String>,
pub package: Option<String>,
pub run_tests_mode: Option<RunTestsMode>,
pub server: Server,
pub static_dir: Option<String>,
pub watch: bool,
}Fields§
§bindgen_args: Option<String>§cargo_args: Option<String>§example: String§matches: Vec<String>§package: Option<String>§run_tests_mode: Option<RunTestsMode>§server: Server§static_dir: Option<String>§watch: boolImplementations§
source§impl SweetCli
impl SweetCli
pub fn should_run_once(&self) -> bool
pub fn set_package(&mut self, package: String) -> &mut Self
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SweetCli
impl Send for SweetCli
impl Sync for SweetCli
impl Unpin for SweetCli
impl UnwindSafe for SweetCli
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