pub struct ImageReaderError(/* private fields */);Expand description
C++ enum: QImageReader::ImageReaderError.
Implementations§
Source§impl ImageReaderError
impl ImageReaderError
Sourcepub const UnknownError: ImageReaderError
pub const UnknownError: ImageReaderError
C++ enum variant: UnknownError = 0
Sourcepub const FileNotFoundError: ImageReaderError
pub const FileNotFoundError: ImageReaderError
C++ enum variant: FileNotFoundError = 1
Sourcepub const DeviceError: ImageReaderError
pub const DeviceError: ImageReaderError
C++ enum variant: DeviceError = 2
Sourcepub const UnsupportedFormatError: ImageReaderError
pub const UnsupportedFormatError: ImageReaderError
C++ enum variant: UnsupportedFormatError = 3
Sourcepub const InvalidDataError: ImageReaderError
pub const InvalidDataError: ImageReaderError
C++ enum variant: InvalidDataError = 4
Trait Implementations§
Source§impl Clone for ImageReaderError
impl Clone for ImageReaderError
Source§fn clone(&self) -> ImageReaderError
fn clone(&self) -> ImageReaderError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ImageReaderError
impl Debug for ImageReaderError
Source§impl From<ImageReaderError> for c_int
impl From<ImageReaderError> for c_int
Source§fn from(value: ImageReaderError) -> Self
fn from(value: ImageReaderError) -> Self
Converts to this type from the input type.
Source§impl From<i32> for ImageReaderError
impl From<i32> for ImageReaderError
Source§impl PartialEq for ImageReaderError
impl PartialEq for ImageReaderError
Source§fn eq(&self, other: &ImageReaderError) -> bool
fn eq(&self, other: &ImageReaderError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ImageReaderError
impl Eq for ImageReaderError
impl StructuralPartialEq for ImageReaderError
Auto Trait Implementations§
impl Freeze for ImageReaderError
impl RefUnwindSafe for ImageReaderError
impl Send for ImageReaderError
impl Sync for ImageReaderError
impl Unpin for ImageReaderError
impl UnsafeUnpin for ImageReaderError
impl UnwindSafe for ImageReaderError
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