pub struct KeyOptions { /* private fields */ }Implementations§
Source§impl KeyOptions
impl KeyOptions
pub fn new(options: u8) -> Self
pub fn wait_for_input(&self) -> bool
pub fn wait_for_input_mut(&mut self) -> &mut bool
Trait Implementations§
Source§impl PartialEq for KeyOptions
impl PartialEq for KeyOptions
impl StructuralPartialEq for KeyOptions
Auto Trait Implementations§
impl Freeze for KeyOptions
impl RefUnwindSafe for KeyOptions
impl Send for KeyOptions
impl Sync for KeyOptions
impl Unpin for KeyOptions
impl UnwindSafe for KeyOptions
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