[][src]Struct fermium::renderer::SDL_RendererInfo

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

Information on the capabilities of a render driver or context.

Fields

name: *const c_char

The name of the renderer (borrowed)

flags: u32num_texture_formats: u32

The number of available texture formats

texture_formats: [u32; 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]

impl Debug for SDL_RendererInfo[src]

impl Default for SDL_RendererInfo[src]

impl Eq for SDL_RendererInfo[src]

impl Hash for SDL_RendererInfo[src]

impl Ord for SDL_RendererInfo[src]

impl PartialEq<SDL_RendererInfo> for SDL_RendererInfo[src]

impl PartialOrd<SDL_RendererInfo> for SDL_RendererInfo[src]

impl StructuralEq for SDL_RendererInfo[src]

impl StructuralPartialEq for SDL_RendererInfo[src]

Auto Trait Implementations

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.