[][src]Struct fermium::SDL_RWops

#[repr(C)]
pub struct SDL_RWops {
    pub size: Option<unsafe extern "C" fn(context: *mut SDL_RWops) -> Sint64>,
    pub seek: Option<unsafe extern "C" fn(context: *mut SDL_RWops, offset: Sint64, whence: c_int) -> Sint64>,
    pub read: Option<unsafe extern "C" fn(context: *mut SDL_RWops, ptr: *mut c_void, size: usize, maxnum: usize) -> usize>,
    pub write: Option<unsafe extern "C" fn(context: *mut SDL_RWops, ptr: *const c_void, size: usize, num: usize) -> usize>,
    pub close: Option<unsafe extern "C" fn(context: *mut SDL_RWops) -> c_int>,
    pub type_: Uint32,
    pub hidden: SDL_RWops__bindgen_ty_1,
}

Fields

size: Option<unsafe extern "C" fn(context: *mut SDL_RWops) -> Sint64>seek: Option<unsafe extern "C" fn(context: *mut SDL_RWops, offset: Sint64, whence: c_int) -> Sint64>read: Option<unsafe extern "C" fn(context: *mut SDL_RWops, ptr: *mut c_void, size: usize, maxnum: usize) -> usize>write: Option<unsafe extern "C" fn(context: *mut SDL_RWops, ptr: *const c_void, size: usize, num: usize) -> usize>close: Option<unsafe extern "C" fn(context: *mut SDL_RWops) -> c_int>type_: Uint32hidden: SDL_RWops__bindgen_ty_1

Trait Implementations

impl Debug for SDL_RWops[src]

impl Copy for SDL_RWops[src]

impl Clone for SDL_RWops[src]

impl Default for SDL_RWops[src]

Auto Trait Implementations

impl Unpin for SDL_RWops

impl !Send for SDL_RWops

impl !Sync for SDL_RWops

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]