#[repr(transparent)]
pub struct SDL_RWops(_);
Expand description
SDL’s read/write abstraction.
This is necessary for interaction with some of the other SDL systems, but
I’m dubious as to its general value compared to using std::fs
most of the
time. So, currently, there’s only bindings to allocate one from a file path
and to free it later.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.