pub enum PaneInteractionPolicyError {
InvalidThreshold {
field: &'static str,
value: u16,
},
InvalidSnapTuning {
step_bps: u16,
hysteresis_bps: u16,
},
DeltaOverflow,
}Expand description
Tuning/policy validation errors for pane interaction behavior controls.
Variants§
Trait Implementations§
Source§impl Clone for PaneInteractionPolicyError
impl Clone for PaneInteractionPolicyError
Source§fn clone(&self) -> PaneInteractionPolicyError
fn clone(&self) -> PaneInteractionPolicyError
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 PaneInteractionPolicyError
impl Debug for PaneInteractionPolicyError
Source§impl Display for PaneInteractionPolicyError
impl Display for PaneInteractionPolicyError
Source§impl Error for PaneInteractionPolicyError
impl Error for PaneInteractionPolicyError
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()
impl Eq for PaneInteractionPolicyError
impl StructuralPartialEq for PaneInteractionPolicyError
Auto Trait Implementations§
impl Freeze for PaneInteractionPolicyError
impl RefUnwindSafe for PaneInteractionPolicyError
impl Send for PaneInteractionPolicyError
impl Sync for PaneInteractionPolicyError
impl Unpin for PaneInteractionPolicyError
impl UnsafeUnpin for PaneInteractionPolicyError
impl UnwindSafe for PaneInteractionPolicyError
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