[−][src]Struct qt_gui::q_image_writer::ImageWriterError
This enum describes errors that can occur when writing images with QImageWriter.
C++ enum: QImageWriter::ImageWriterError
.
This enum describes errors that can occur when writing images with QImageWriter.
Methods
impl ImageWriterError
[src]
impl ImageWriterError
[src]
pub const UnknownError: ImageWriterError
[src]
An unknown error occurred. If you get this value after calling write(), it is most likely caused by a bug in QImageWriter. (C++ enum variant: UnknownError = 0
)
pub const DeviceError: ImageWriterError
[src]
QImageWriter encountered a device error when writing the image data. Consult your device for more details on what went wrong. (C++ enum variant: DeviceError = 1
)
pub const UnsupportedFormatError: ImageWriterError
[src]
Qt does not support the requested image format. (C++ enum variant: UnsupportedFormatError = 2
)
pub const InvalidImageError: ImageWriterError
[src]
Trait Implementations
impl Clone for ImageWriterError
[src]
fn clone(&self) -> ImageWriterError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ImageWriterError
[src]
impl Debug for ImageWriterError
[src]
impl Eq for ImageWriterError
[src]
impl From<ImageWriterError> for c_int
[src]
fn from(value: ImageWriterError) -> Self
[src]
impl From<i32> for ImageWriterError
[src]
impl PartialEq<ImageWriterError> for ImageWriterError
[src]
fn eq(&self, other: &ImageWriterError) -> bool
[src]
fn ne(&self, other: &ImageWriterError) -> bool
[src]
impl StructuralEq for ImageWriterError
[src]
impl StructuralPartialEq for ImageWriterError
[src]
Auto Trait Implementations
impl RefUnwindSafe for ImageWriterError
impl Send for ImageWriterError
impl Sync for ImageWriterError
impl Unpin for ImageWriterError
impl UnwindSafe for ImageWriterError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,