pub struct InputPriority(pub i16);Expand description
Explicit execution priority band for InputChain hooks. Higher values run earlier; hooks
with equal priority preserve stable FIFO registration order (ascending InputHookId).
Tuple Fields§
§0: i16Implementations§
Trait Implementations§
Source§impl Clone for InputPriority
impl Clone for InputPriority
impl Copy for InputPriority
Source§impl Debug for InputPriority
impl Debug for InputPriority
Source§impl Default for InputPriority
impl Default for InputPriority
impl Eq for InputPriority
Source§impl Hash for InputPriority
impl Hash for InputPriority
Source§impl Ord for InputPriority
impl Ord for InputPriority
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for InputPriority
impl PartialEq for InputPriority
Source§impl PartialOrd for InputPriority
impl PartialOrd for InputPriority
impl StructuralPartialEq for InputPriority
Auto Trait Implementations§
impl Forget for InputPriority
impl Freeze for InputPriority
impl Move for InputPriority
impl RefUnwindSafe for InputPriority
impl Send for InputPriority
impl Sync for InputPriority
impl Unpin for InputPriority
impl UnsafeUnpin for InputPriority
impl UnwindSafe for InputPriority
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