pub enum FeatureState {
Disable = 0,
Enable = 1,
}Available on crate feature
dpll only.Expand description
Allow control (enable/disable) and status checking over features. Enum - defines an integer enumeration, with values for each entry incrementing by 1, (e.g. 0, 1, 2, 3)
Variants§
Implementations§
Source§impl FeatureState
impl FeatureState
pub fn from_value(value: u64) -> Option<Self>
Trait Implementations§
Source§impl Clone for FeatureState
impl Clone for FeatureState
Source§fn clone(&self) -> FeatureState
fn clone(&self) -> FeatureState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FeatureState
Auto Trait Implementations§
impl Freeze for FeatureState
impl RefUnwindSafe for FeatureState
impl Send for FeatureState
impl Sync for FeatureState
impl Unpin for FeatureState
impl UnsafeUnpin for FeatureState
impl UnwindSafe for FeatureState
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