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
XMustBeMultipleOfTwoForFormat(i32)Tuple Fields of XMustBeMultipleOfTwoForFormat
0: i32YMustBeMultipleOfTwoForFormat(i32)Tuple Fields of YMustBeMultipleOfTwoForFormat
0: i32WidthMustBeMultipleOfTwoForFormat(u32)Tuple Fields of WidthMustBeMultipleOfTwoForFormat
0: u32HeightMustBeMultipleOfTwoForFormat(u32)Tuple Fields of HeightMustBeMultipleOfTwoForFormat
0: u32RectNotInsideTexture(Rect)Tuple Fields of RectNotInsideTexture
0: RectSdlError(String)Tuple Fields of SdlError
0: StringTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for UpdateTextureYUVError
impl Send for UpdateTextureYUVError
impl Sync for UpdateTextureYUVError
impl Unpin for UpdateTextureYUVError
impl UnwindSafe for UpdateTextureYUVError
Blanket Implementations
Mutably borrows from an owned value. Read more