#[non_exhaustive]pub struct MonotonicArgs {
pub binds: Ident,
pub priority: Option<u8>,
pub default: bool,
}
Expand description
Monotonic metadata
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.binds: Ident
The interrupt or exception that this monotonic is bound to
priority: Option<u8>
The priority of this monotonic
default: bool
If this is the default monotonic
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MonotonicArgs
impl RefUnwindSafe for MonotonicArgs
impl !Send for MonotonicArgs
impl !Sync for MonotonicArgs
impl Unpin for MonotonicArgs
impl UnwindSafe for MonotonicArgs
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