Enum sdl2::render::UpdateTextureYUVError
[−]
[src]
pub enum UpdateTextureYUVError { PitchOverflows { plane: &'static str, value: usize, }, InvalidPlaneLength { plane: &'static str, length: usize, pitch: usize, height: usize, }, XMustBeMultipleOfTwoForFormat(i32), YMustBeMultipleOfTwoForFormat(i32), WidthMustBeMultipleOfTwoForFormat(u32), HeightMustBeMultipleOfTwoForFormat(u32), RectNotInsideTexture(Rect), SdlError(String), }
Variants
PitchOverflows
Fields of PitchOverflows
plane: &'static str | |
value: usize |
InvalidPlaneLength
Fields of InvalidPlaneLength
plane: &'static str | |
length: usize | |
pitch: usize | |
height: usize |
XMustBeMultipleOfTwoForFormat(i32)
YMustBeMultipleOfTwoForFormat(i32)
WidthMustBeMultipleOfTwoForFormat(u32)
HeightMustBeMultipleOfTwoForFormat(u32)
RectNotInsideTexture(Rect)
SdlError(String)
Trait Implementations
impl Debug for UpdateTextureYUVError
[src]
impl Display for UpdateTextureYUVError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more