pub struct Setting<T>where
T: Copy,{
pub tag: u32,
pub value: T,
}Expand description
Setting combining a tag and a value for features and variations.
Fields§
§tag: u32The tag that identifies the setting.
value: TThe value for the setting.
Implementations§
Trait Implementations§
impl<T> Copy for Setting<T>where
T: Copy,
impl<T> Eq for Setting<T>
Auto Trait Implementations§
impl<T> Freeze for Setting<T>where
T: Freeze,
impl<T> RefUnwindSafe for Setting<T>where
T: RefUnwindSafe,
impl<T> Send for Setting<T>where
T: Send,
impl<T> Sync for Setting<T>where
T: Sync,
impl<T> Unpin for Setting<T>where
T: Unpin,
impl<T> UnwindSafe for Setting<T>where
T: 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