pub struct Feature<F> {
pub feature: F,
pub status: FeatureStatus,
}Expand description
One member of a statically known application feature identity type.
Fields§
§feature: FApplication-defined feature identity.
status: FeatureStatusExplicit state; absence never implies a state.
Trait Implementations§
impl<F: Eq> Eq for Feature<F>
impl<F> StructuralPartialEq for Feature<F>
Auto Trait Implementations§
impl<F> Freeze for Feature<F>where
F: Freeze,
impl<F> RefUnwindSafe for Feature<F>where
F: RefUnwindSafe,
impl<F> Send for Feature<F>where
F: Send,
impl<F> Sync for Feature<F>where
F: Sync,
impl<F> Unpin for Feature<F>where
F: Unpin,
impl<F> UnsafeUnpin for Feature<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for Feature<F>where
F: UnwindSafe,
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