[][src]Struct sdl2_sys::SDL_RendererInfo

#[repr(C)]
pub struct SDL_RendererInfo { pub name: *const c_char, pub flags: Uint32, pub num_texture_formats: Uint32, pub texture_formats: [Uint32; 16], pub max_texture_width: c_int, pub max_texture_height: c_int, }

\brief Information on the capabilities of a render driver or context.

Fields

name: *const c_char

< The name of the renderer

flags: Uint32

< Supported ::SDL_RendererFlags

num_texture_formats: Uint32

< The number of available texture formats

texture_formats: [Uint32; 16]

< The available texture formats

max_texture_width: c_int

< The maximum texture width

max_texture_height: c_int

< The maximum texture height

Trait Implementations

impl Clone for SDL_RendererInfo[src]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for SDL_RendererInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From for T[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]