pub struct FeatureSpec {
pub id: Feature,
pub key: &'static str,
pub stage: Stage,
pub default_enabled: bool,
}Expand description
Single registry of all feature definitions.
Fields§
§id: Feature§key: &'static str§stage: Stage§default_enabled: boolTrait Implementations§
Source§impl Clone for FeatureSpec
impl Clone for FeatureSpec
impl Copy for FeatureSpec
Auto Trait Implementations§
impl Freeze for FeatureSpec
impl RefUnwindSafe for FeatureSpec
impl Send for FeatureSpec
impl Sync for FeatureSpec
impl Unpin for FeatureSpec
impl UnsafeUnpin for FeatureSpec
impl UnwindSafe for FeatureSpec
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