Trait sdl2::render::RenderTarget
[−]
[src]
pub trait RenderTarget { type Context; }
Represents structs which can be the target of a SDL_Renderer (or Canvas).
This is intended for internal use only. It should not be used outside of this crate, but is still visible for documentation reasons.
Associated Types
type Context
Implementors
impl<'s> RenderTarget for Surface<'s> type Context = SurfaceContext<'s>;
impl RenderTarget for Window type Context = WindowContext;