pub struct Flag {
pub name: String,
pub index: usize,
}Expand description
Data attached to parameters conditional on flags.
Fields§
§name: StringThe name of the parameter containing the flags in its bits.
index: usizeThe bit index used by this flag inside the flags parameter.
Trait Implementations§
impl Eq for Flag
impl StructuralPartialEq for Flag
Auto Trait Implementations§
impl Freeze for Flag
impl RefUnwindSafe for Flag
impl Send for Flag
impl Sync for Flag
impl Unpin for Flag
impl UnwindSafe for Flag
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