Struct sdl2::surface::SurfaceContext
source · pub struct SurfaceContext<'a> { /* private fields */ }
Expand description
Holds a SDL_Surface
When the SurfaceContext
is dropped, it frees the SDL_Surface
INTERNAL USE ONLY
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SurfaceContext<'a>
impl<'a> RefUnwindSafe for SurfaceContext<'a>
impl<'a> !Send for SurfaceContext<'a>
impl<'a> !Sync for SurfaceContext<'a>
impl<'a> Unpin for SurfaceContext<'a>
impl<'a> UnwindSafe for SurfaceContext<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more