Enum rich_sdl2_rust::hint::HintPriority
source · #[non_exhaustive]pub enum HintPriority {
Default,
Normal,
Override,
}
Expand description
A priority of the hint specifying.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for HintPriority
impl Clone for HintPriority
source§fn clone(&self) -> HintPriority
fn clone(&self) -> HintPriority
Returns a copy 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 HintPriority
impl Debug for HintPriority
source§impl Default for HintPriority
impl Default for HintPriority
source§impl PartialEq for HintPriority
impl PartialEq for HintPriority
source§fn eq(&self, other: &HintPriority) -> bool
fn eq(&self, other: &HintPriority) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for HintPriority
impl Eq for HintPriority
impl StructuralPartialEq for HintPriority
Auto Trait Implementations§
impl RefUnwindSafe for HintPriority
impl Send for HintPriority
impl Sync for HintPriority
impl Unpin for HintPriority
impl UnwindSafe for HintPriority
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