Struct sdl2_sys::rwops::SDL_RWops [] [src]

#[repr(C)]
pub struct SDL_RWops { pub size: extern "C" fn(context: *mut SDL_RWops) -> int64_t, pub seek: extern "C" fn(context: *mut SDL_RWops, offset: int64_t, whence: c_int) -> int64_t, pub read: extern "C" fn(context: *mut SDL_RWops, ptr: *mut c_void, size: size_t, maxnum: size_t) -> size_t, pub write: extern "C" fn(context: *mut SDL_RWops, ptr: *const c_void, size: size_t, maxnum: size_t) -> size_t, pub close: extern "C" fn(context: *mut SDL_RWops) -> c_int, pub type_: uint32_t, // some fields omitted }

Fields