pub struct ImageWriterError(/* private fields */);Expand description
C++ enum: QImageWriter::ImageWriterError.
Implementations§
Source§impl ImageWriterError
impl ImageWriterError
Sourcepub const UnknownError: ImageWriterError
pub const UnknownError: ImageWriterError
C++ enum variant: UnknownError = 0
Sourcepub const DeviceError: ImageWriterError
pub const DeviceError: ImageWriterError
C++ enum variant: DeviceError = 1
Sourcepub const UnsupportedFormatError: ImageWriterError
pub const UnsupportedFormatError: ImageWriterError
C++ enum variant: UnsupportedFormatError = 2
Sourcepub const InvalidImageError: ImageWriterError
pub const InvalidImageError: ImageWriterError
C++ enum variant: InvalidImageError = 3
Trait Implementations§
Source§impl Clone for ImageWriterError
impl Clone for ImageWriterError
Source§fn clone(&self) -> ImageWriterError
fn clone(&self) -> ImageWriterError
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 ImageWriterError
impl Debug for ImageWriterError
Source§impl From<ImageWriterError> for c_int
impl From<ImageWriterError> for c_int
Source§fn from(value: ImageWriterError) -> Self
fn from(value: ImageWriterError) -> Self
Converts to this type from the input type.
Source§impl From<i32> for ImageWriterError
impl From<i32> for ImageWriterError
Source§impl PartialEq for ImageWriterError
impl PartialEq for ImageWriterError
Source§fn eq(&self, other: &ImageWriterError) -> bool
fn eq(&self, other: &ImageWriterError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ImageWriterError
impl Eq for ImageWriterError
impl StructuralPartialEq for ImageWriterError
Auto Trait Implementations§
impl Freeze for ImageWriterError
impl RefUnwindSafe for ImageWriterError
impl Send for ImageWriterError
impl Sync for ImageWriterError
impl Unpin for ImageWriterError
impl UnsafeUnpin for ImageWriterError
impl UnwindSafe for ImageWriterError
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