Enum show_image::error::SetImageError [−][src]
pub enum SetImageError {
InvalidWindowId(InvalidWindowId),
ImageDataError(ImageDataError),
}
Expand description
An error that can occur when setting the image of a window.
Variants
InvalidWindowId(InvalidWindowId)
The window ID is invalid.
Tuple Fields of InvalidWindowId
ImageDataError(ImageDataError)
The image data is not supported.
Tuple Fields of ImageDataError
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SetImageError
impl Send for SetImageError
impl Sync for SetImageError
impl Unpin for SetImageError
impl UnwindSafe for SetImageError
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.