Enum sdl2::render::UpdateTextureError [] [src]

pub enum UpdateTextureError {
    PitchOverflows(usize),
    PitchMustBeMultipleOfTwoForFormat(usizePixelFormatEnum),
    XMustBeMultipleOfTwoForFormat(i32PixelFormatEnum),
    YMustBeMultipleOfTwoForFormat(i32PixelFormatEnum),
    WidthMustBeMultipleOfTwoForFormat(u32PixelFormatEnum),
    HeightMustBeMultipleOfTwoForFormat(u32PixelFormatEnum),
    SdlError(String),
}

Variants

Trait Implementations

impl Debug for UpdateTextureError
[src]

Formats the value using the given formatter.

impl Display for UpdateTextureError
[src]

Formats the value using the given formatter. Read more

impl Error for UpdateTextureError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more