pub struct ExtraCases { /* private fields */ }Implementations§
Source§impl ExtraCases
impl ExtraCases
pub fn new(extra_cases: u8) -> Self
pub fn count(&self) -> usize
pub fn left_key(&self) -> bool
pub fn left_key_mut(&mut self) -> &mut bool
pub fn right_key(&self) -> bool
pub fn right_key_mut(&mut self) -> &mut bool
pub fn force_exit(&self) -> bool
pub fn force_exit_mut(&mut self) -> &mut bool
Trait Implementations§
Source§impl Clone for ExtraCases
impl Clone for ExtraCases
Source§fn clone(&self) -> ExtraCases
fn clone(&self) -> ExtraCases
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 PartialEq for ExtraCases
impl PartialEq for ExtraCases
impl StructuralPartialEq for ExtraCases
Auto Trait Implementations§
impl Freeze for ExtraCases
impl RefUnwindSafe for ExtraCases
impl Send for ExtraCases
impl Sync for ExtraCases
impl Unpin for ExtraCases
impl UnwindSafe for ExtraCases
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