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<HintPriority> for HintPriority
impl PartialEq<HintPriority> 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 ==
.