pub struct OptionsCount {
pub first_options_count: u8,
pub second_options_count: u8,
}Expand description
Packed pair of 4-bit option run counts (first and second options run).
Fields§
§first_options_count: u8Number of options in the first options run.
second_options_count: u8Number of options in the second options run.
Implementations§
Trait Implementations§
Source§impl Clone for OptionsCount
impl Clone for OptionsCount
Source§fn clone(&self) -> OptionsCount
fn clone(&self) -> OptionsCount
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OptionsCount
impl Debug for OptionsCount
Source§impl From<OptionsCount> for u8
impl From<OptionsCount> for u8
Source§fn from(options_count: OptionsCount) -> u8
fn from(options_count: OptionsCount) -> u8
Converts to this type from the input type.
Source§impl From<u8> for OptionsCount
impl From<u8> for OptionsCount
Source§impl PartialEq for OptionsCount
impl PartialEq for OptionsCount
impl Copy for OptionsCount
impl Eq for OptionsCount
impl StructuralPartialEq for OptionsCount
Auto Trait Implementations§
impl Freeze for OptionsCount
impl RefUnwindSafe for OptionsCount
impl Send for OptionsCount
impl Sync for OptionsCount
impl Unpin for OptionsCount
impl UnsafeUnpin for OptionsCount
impl UnwindSafe for OptionsCount
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