pub enum ScratchGestureError {
InvalidConfig {
field: &'static str,
},
InvalidSample {
field: &'static str,
},
InvalidRecordAngle,
GestureAlreadyActive,
GestureNotActive,
PointerMismatch {
active_pointer_id: u64,
received_pointer_id: u64,
},
SourceTimeMovedBackward,
ScheduleOverflow,
UnsupportedSnapshotVersion {
version: u32,
},
SnapshotConfigMismatch,
InvalidSnapshot {
field: &'static str,
},
}Variants§
InvalidConfig
InvalidSample
InvalidRecordAngle
GestureAlreadyActive
GestureNotActive
PointerMismatch
SourceTimeMovedBackward
ScheduleOverflow
UnsupportedSnapshotVersion
SnapshotConfigMismatch
InvalidSnapshot
Trait Implementations§
Source§impl Debug for ScratchGestureError
impl Debug for ScratchGestureError
Source§impl Display for ScratchGestureError
impl Display for ScratchGestureError
Source§impl Error for ScratchGestureError
impl Error for ScratchGestureError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for ScratchGestureError
impl PartialEq for ScratchGestureError
impl StructuralPartialEq for ScratchGestureError
Auto Trait Implementations§
impl Freeze for ScratchGestureError
impl RefUnwindSafe for ScratchGestureError
impl Send for ScratchGestureError
impl Sync for ScratchGestureError
impl Unpin for ScratchGestureError
impl UnsafeUnpin for ScratchGestureError
impl UnwindSafe for ScratchGestureError
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