Enum sdl2_sys::SDL_errorcode
source · [−]#[repr(u32)]
pub enum SDL_errorcode {
SDL_ENOMEM,
SDL_EFREAD,
SDL_EFWRITE,
SDL_EFSEEK,
SDL_UNSUPPORTED,
SDL_LASTERROR,
}
Variants
SDL_ENOMEM
SDL_EFREAD
SDL_EFWRITE
SDL_EFSEEK
SDL_UNSUPPORTED
SDL_LASTERROR
Trait Implementations
sourceimpl Clone for SDL_errorcode
impl Clone for SDL_errorcode
sourcefn clone(&self) -> SDL_errorcode
fn clone(&self) -> SDL_errorcode
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 more
sourceimpl Debug for SDL_errorcode
impl Debug for SDL_errorcode
sourceimpl Hash for SDL_errorcode
impl Hash for SDL_errorcode
sourceimpl PartialEq<SDL_errorcode> for SDL_errorcode
impl PartialEq<SDL_errorcode> for SDL_errorcode
impl Copy for SDL_errorcode
impl Eq for SDL_errorcode
impl StructuralEq for SDL_errorcode
impl StructuralPartialEq for SDL_errorcode
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more