pub struct SetupArgs {
pub non_interactive: bool,
pub force: bool,
}Expand description
Interactive guided setup wizard.
Fields§
§non_interactive: boolSkip all prompts and use auto-detected defaults.
force: boolRe-download or rebuild even if libtorch exists.
Trait Implementations§
Source§impl FdlArgsTrait for SetupArgs
impl FdlArgsTrait for SetupArgs
Source§fn try_parse_from(args: &[String]) -> Result<Self, String>
fn try_parse_from(args: &[String]) -> Result<Self, String>
Parse from an explicit argv slice. First element is the program
name (ignored), following elements are flags/values/positionals.
Source§fn render_help() -> String
fn render_help() -> String
Render
--help to a string.Auto Trait Implementations§
impl Freeze for SetupArgs
impl RefUnwindSafe for SetupArgs
impl Send for SetupArgs
impl Sync for SetupArgs
impl Unpin for SetupArgs
impl UnsafeUnpin for SetupArgs
impl UnwindSafe for SetupArgs
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