pub enum ValidationResult {
PlaneIdx,
PlaneSet,
Incomplete,
InvalidFormat,
InvalidDimensions,
OutOfBounds,
Ok,
}Expand description
Result of validation of image attributes.
Variants§
PlaneIdx
Plane index out of bounds.
PlaneSet
The plane index was already set.
Incomplete
Missing or too many planes to create a buffer.
InvalidFormat
Format not supported.
InvalidDimensions
Invalid width or height.
OutOfBounds
Offset + stride * height goes out of dmabuf bounds.
Ok
Everything Ok
Trait Implementations§
Source§impl PartialEq for ValidationResult
impl PartialEq for ValidationResult
impl StructuralPartialEq for ValidationResult
Auto Trait Implementations§
impl Freeze for ValidationResult
impl RefUnwindSafe for ValidationResult
impl Send for ValidationResult
impl Sync for ValidationResult
impl Unpin for ValidationResult
impl UnwindSafe for ValidationResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more