[][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]

impl Copy for SDL_RendererInfo[src]

Auto Trait Implementations

impl !Send for SDL_RendererInfo

impl !Sync for SDL_RendererInfo

impl Unpin for SDL_RendererInfo

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.