#[repr(i32)]pub enum Feature {
Disabled = -1,
Auto = 0,
Required = 1,
}Expand description
A feature.
Variants§
Disabled = -1
The configuration will automatically be used when supported.
Auto = 0
The configuration will automatically be used when supported.
Required = 1
The configuration is enabled and required.
Trait Implementations§
Source§impl From<Feature> for RiceFeature
impl From<Feature> for RiceFeature
Source§impl From<i32> for Feature
impl From<i32> for Feature
Source§fn from(value: RiceFeature) -> Self
fn from(value: RiceFeature) -> Self
Converts to this type from the input type.
impl Copy for Feature
impl Eq for Feature
impl StructuralPartialEq for Feature
Auto Trait Implementations§
impl Freeze for Feature
impl RefUnwindSafe for Feature
impl Send for Feature
impl Sync for Feature
impl Unpin for Feature
impl UnsafeUnpin for Feature
impl UnwindSafe for Feature
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