Struct sdl2::render::RendererInfo
[−]
[src]
pub struct RendererInfo { pub name: &'static str, pub flags: u32, pub texture_formats: Vec<PixelFormatEnum>, pub max_texture_width: u32, pub max_texture_height: u32, }
A structure that contains information on the capabilities of a render driver or the current render context.
Fields
name: &'static str
flags: u32
texture_formats: Vec<PixelFormatEnum>
max_texture_width: u32
max_texture_height: u32
Methods
impl RendererInfo
[src]
pub unsafe fn from_ll(info: &SDL_RendererInfo) -> RendererInfo
[src]
Trait Implementations
impl Clone for RendererInfo
[src]
fn clone(&self) -> RendererInfo
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for RendererInfo
[src]
impl PartialEq for RendererInfo
[src]
fn eq(&self, __arg_0: &RendererInfo) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RendererInfo) -> bool
[src]
This method tests for !=
.
impl Hash for RendererInfo
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more