pub struct InitArgs {
pub name: Option<String>,
pub docker: bool,
}Expand description
Scaffold a new floDl project.
Fields§
§name: Option<String>New project directory name.
docker: boolGenerate a Docker-based scaffold (libtorch baked into the image).
Trait Implementations§
Source§impl FdlArgsTrait for InitArgs
impl FdlArgsTrait for InitArgs
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 InitArgs
impl RefUnwindSafe for InitArgs
impl Send for InitArgs
impl Sync for InitArgs
impl Unpin for InitArgs
impl UnsafeUnpin for InitArgs
impl UnwindSafe for InitArgs
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