Enum tvm_build::CMakeSetting [−][src]
pub enum CMakeSetting {
On,
Off,
Path(PathBuf),
}
Expand description
Many TVM CMake settings are either OFF (disabled), ON (with auto detection) or a path implying on with a fixed configuration.
This enumeration represents all cases in a more Rust friendly way.
Variants
On
Off
Path(PathBuf)
Tuple Fields
0: PathBuf
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CMakeSetting
impl Send for CMakeSetting
impl Sync for CMakeSetting
impl Unpin for CMakeSetting
impl UnwindSafe for CMakeSetting
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more