Struct sdl2::rwops::RWops[src]
pub struct RWops { pub raw: *SDL_RWops, pub close_on_drop: bool, }
Fields
raw | |
close_on_drop |
Methods
impl RWops
A structure that provides an abstract interface to stream I/O.
pub struct RWops { pub raw: *SDL_RWops, pub close_on_drop: bool, }
raw | |
close_on_drop |
impl RWops
A structure that provides an abstract interface to stream I/O.
fn from_file(path: &Path, mode: &str) -> Result<RWops, ~str>
fn from_bytes(buf: &[u8]) -> Result<RWops, ~str>
impl Drop for RWops
fn drop(&mut self)
impl Reader for RWops
impl Writer for RWops
impl Seek for RWops
impl Container for RWops
fn len(&self) -> uint
impl Eq for RWops
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
(or str
), enum
,
trait
, typedef
(or
tdef
).