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§
Trait Implementations§
Source§impl Debug for CMakeSetting
impl Debug for CMakeSetting
Auto Trait Implementations§
impl Freeze for CMakeSetting
impl RefUnwindSafe for CMakeSetting
impl Send for CMakeSetting
impl Sync for CMakeSetting
impl Unpin for CMakeSetting
impl UnwindSafe for CMakeSetting
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