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