pub struct InputCapture { /* private fields */ }Expand description
A scope currently capturing input.
Implementations§
Source§impl InputCapture
impl InputCapture
Sourcepub fn scope(&self) -> &InputScope
pub fn scope(&self) -> &InputScope
Scope that owns this capture.
Sourcepub fn mode(&self) -> InputCaptureMode
pub fn mode(&self) -> InputCaptureMode
Capture behavior for unhandled keys.
Trait Implementations§
Source§impl Clone for InputCapture
impl Clone for InputCapture
Source§fn clone(&self) -> InputCapture
fn clone(&self) -> InputCapture
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InputCapture
impl Debug for InputCapture
impl Eq for InputCapture
Source§impl PartialEq for InputCapture
impl PartialEq for InputCapture
impl StructuralPartialEq for InputCapture
Auto Trait Implementations§
impl Freeze for InputCapture
impl RefUnwindSafe for InputCapture
impl Send for InputCapture
impl Sync for InputCapture
impl Unpin for InputCapture
impl UnsafeUnpin for InputCapture
impl UnwindSafe for InputCapture
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