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
size: extern "C" fn(context: *mut SDL_RWops) -> int64_t
seek: extern "C" fn(context: *mut SDL_RWops, offset: int64_t, whence: c_int) -> int64_t
read: extern "C" fn(context: *mut SDL_RWops, ptr: *mut c_void, size: size_t, maxnum: size_t) -> size_t
write: extern "C" fn(context: *mut SDL_RWops, ptr: *const c_void, size: size_t, maxnum: size_t) -> size_t
close: extern "C" fn(context: *mut SDL_RWops) -> c_int
type_: uint32_t