#[repr(transparent)]pub struct SDL_LogPriority(pub c_int);
Expand description
The predefined log priorities
§Availability
This enum is available since SDL 3.2.0.
§Known values (sdl3-sys
)
Tuple Fields§
§0: c_int
Implementations§
Trait Implementations§
Source§impl Clone for SDL_LogPriority
impl Clone for SDL_LogPriority
Source§fn clone(&self) -> SDL_LogPriority
fn clone(&self) -> SDL_LogPriority
Returns a duplicate 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 SDL_LogPriority
Available on crate feature debug-impls
only.
impl Debug for SDL_LogPriority
Available on crate feature
debug-impls
only.Source§impl Default for SDL_LogPriority
impl Default for SDL_LogPriority
Source§fn default() -> SDL_LogPriority
fn default() -> SDL_LogPriority
Returns the “default value” for a type. Read more
Source§impl From<SDL_LogPriority> for c_int
impl From<SDL_LogPriority> for c_int
Source§fn from(value: SDL_LogPriority) -> Self
fn from(value: SDL_LogPriority) -> Self
Converts to this type from the input type.
Source§impl Hash for SDL_LogPriority
impl Hash for SDL_LogPriority
Source§impl Ord for SDL_LogPriority
impl Ord for SDL_LogPriority
Source§fn cmp(&self, other: &SDL_LogPriority) -> Ordering
fn cmp(&self, other: &SDL_LogPriority) -> Ordering
1.21.0 · 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
Source§impl PartialEq for SDL_LogPriority
impl PartialEq for SDL_LogPriority
Source§impl PartialOrd for SDL_LogPriority
impl PartialOrd for SDL_LogPriority
impl Copy for SDL_LogPriority
impl Eq for SDL_LogPriority
impl StructuralPartialEq for SDL_LogPriority
Auto Trait Implementations§
impl Freeze for SDL_LogPriority
impl RefUnwindSafe for SDL_LogPriority
impl Send for SDL_LogPriority
impl Sync for SDL_LogPriority
impl Unpin for SDL_LogPriority
impl UnwindSafe for SDL_LogPriority
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