Enum sdl2_sys::SDL_ThreadPriority
source · #[repr(u32)]
pub enum SDL_ThreadPriority {
SDL_THREAD_PRIORITY_LOW,
SDL_THREAD_PRIORITY_NORMAL,
SDL_THREAD_PRIORITY_HIGH,
}
Expand description
The SDL thread priority.
\note On many systems you require special privileges to set high priority.
Variants
SDL_THREAD_PRIORITY_LOW
SDL_THREAD_PRIORITY_NORMAL
SDL_THREAD_PRIORITY_HIGH
Trait Implementations
sourceimpl Clone for SDL_ThreadPriority
impl Clone for SDL_ThreadPriority
sourcefn clone(&self) -> SDL_ThreadPriority
fn clone(&self) -> SDL_ThreadPriority
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SDL_ThreadPriority
impl Debug for SDL_ThreadPriority
sourceimpl Hash for SDL_ThreadPriority
impl Hash for SDL_ThreadPriority
sourceimpl PartialEq<SDL_ThreadPriority> for SDL_ThreadPriority
impl PartialEq<SDL_ThreadPriority> for SDL_ThreadPriority
sourcefn eq(&self, other: &SDL_ThreadPriority) -> bool
fn eq(&self, other: &SDL_ThreadPriority) -> bool
impl Copy for SDL_ThreadPriority
impl Eq for SDL_ThreadPriority
impl StructuralEq for SDL_ThreadPriority
impl StructuralPartialEq for SDL_ThreadPriority
Auto Trait Implementations
impl RefUnwindSafe for SDL_ThreadPriority
impl Send for SDL_ThreadPriority
impl Sync for SDL_ThreadPriority
impl Unpin for SDL_ThreadPriority
impl UnwindSafe for SDL_ThreadPriority
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more