[−][src]Struct sdl2::render::RendererContext
Manages what keeps a SDL_Renderer alive
When the RendererContext is dropped, it destroys the SDL_Renderer
Methods
impl<T> RendererContext<T>[src][−]
pub fn info(&self) -> RendererInfo[src][−]
Gets information about the rendering context.
pub fn raw(&self) -> *mut SDL_Renderer[src][−]
Gets the raw pointer to the SDL_Renderer
pub unsafe fn from_ll(raw: *mut SDL_Renderer, target: Rc<T>) -> Self[src]
Trait Implementations
impl<T> Drop for RendererContext<T>[src][+]
Auto Trait Implementations
impl<T> !RefUnwindSafe for RendererContext<T>
impl<T> !Send for RendererContext<T>
impl<T> !Sync for RendererContext<T>
impl<T> Unpin for RendererContext<T>
impl<T> UnwindSafe for RendererContext<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src][+]
T: ?Sized,
impl<T> From<T> for T[src][+]
impl<T, U> Into<U> for T where
U: From<T>, [src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src][+]
U: TryFrom<T>,