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 | |
seek | |
read | |
write | |
close | |
type_ | |
Keyboard shortcuts
- ?
- Show this help dialog
- S
- Focus the search field
- ⇤
- Move up in search results
- ⇥
- Move down in search results
- ⏎
- Go to active search result
Search tricks
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).
Search functions by type signature (e.g.
vec -> usize
)