Enum sdl2_sys::SDL_errorcode
source · #[repr(u32)]pub enum SDL_errorcode {
SDL_ENOMEM = 0,
SDL_EFREAD = 1,
SDL_EFWRITE = 2,
SDL_EFSEEK = 3,
SDL_UNSUPPORTED = 4,
SDL_LASTERROR = 5,
}
Variants§
Trait Implementations§
source§impl Clone for SDL_errorcode
impl Clone for SDL_errorcode
source§fn clone(&self) -> SDL_errorcode
fn clone(&self) -> SDL_errorcode
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 Hash for SDL_errorcode
impl Hash for SDL_errorcode
source§impl PartialEq for SDL_errorcode
impl PartialEq for SDL_errorcode
source§fn eq(&self, other: &SDL_errorcode) -> bool
fn eq(&self, other: &SDL_errorcode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SDL_errorcode
impl Eq for SDL_errorcode
impl StructuralPartialEq for SDL_errorcode
Auto Trait Implementations§
impl Freeze for SDL_errorcode
impl RefUnwindSafe for SDL_errorcode
impl Send for SDL_errorcode
impl Sync for SDL_errorcode
impl Unpin for SDL_errorcode
impl UnwindSafe for SDL_errorcode
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