[][src]Struct sdl2::render::RendererInfo

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 strflags: u32texture_formats: Vec<PixelFormatEnum>max_texture_width: u32max_texture_height: u32

Methods

impl RendererInfo[src]

pub unsafe fn from_ll(info: &SDL_RendererInfo) -> RendererInfo[src]

Trait Implementations

impl Clone for RendererInfo[src]

impl Debug for RendererInfo[src]

impl Eq for RendererInfo[src]

impl Hash for RendererInfo[src]

impl PartialEq<RendererInfo> for RendererInfo[src]

impl StructuralEq for RendererInfo[src]

impl StructuralPartialEq for RendererInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for RendererInfo

impl Send for RendererInfo

impl Sync for RendererInfo

impl Unpin for RendererInfo

impl UnwindSafe for 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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.