pub struct LibtorchActivateArgs {
pub variant: Option<String>,
}Expand description
Activate a libtorch variant.
Fields§
§variant: Option<String>Variant to activate (as shown by fdl libtorch list).
Trait Implementations§
Source§impl Debug for LibtorchActivateArgs
impl Debug for LibtorchActivateArgs
Source§impl FdlArgsTrait for LibtorchActivateArgs
impl FdlArgsTrait for LibtorchActivateArgs
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 LibtorchActivateArgs
impl RefUnwindSafe for LibtorchActivateArgs
impl Send for LibtorchActivateArgs
impl Sync for LibtorchActivateArgs
impl Unpin for LibtorchActivateArgs
impl UnsafeUnpin for LibtorchActivateArgs
impl UnwindSafe for LibtorchActivateArgs
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