Enum ux::prelude::dx::BitmapError [−][src]
#[non_exhaustive] pub enum BitmapError { Failed, UnknownType, CorruptImage, // some variants omitted }
Error codes that can be thrown when performing bitmap
operations. Note that gdk_pixbuf_new_from_file
can also throw
errors directly from the underlying image loading library. For
example, if GdkPixbuf
is used then errors GdkPixbufError
s
will be used directly.
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Generic failure code, something went wrong.
Unknown image type.
An image file was broken somehow.
Trait Implementations
impl Clone for BitmapError
[src]
impl Clone for BitmapError
[src]pub fn clone(&self) -> BitmapError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for BitmapError
[src]
impl Copy for BitmapError
[src]impl Eq for BitmapError
[src]
impl Eq for BitmapError
[src]impl ErrorDomain for BitmapError
[src]
impl ErrorDomain for BitmapError
[src]impl<'a> FromValue<'a> for BitmapError
[src]
impl<'a> FromValue<'a> for BitmapError
[src]pub unsafe fn from_value(value: &Value) -> BitmapError
[src]
impl<'a> FromValueOptional<'a> for BitmapError
[src]
impl<'a> FromValueOptional<'a> for BitmapError
[src]pub unsafe fn from_value_optional(value: &Value) -> Option<BitmapError>
[src]
impl Hash for BitmapError
[src]
impl Hash for BitmapError
[src]impl Ord for BitmapError
[src]
impl Ord for BitmapError
[src]impl PartialEq<BitmapError> for BitmapError
[src]
impl PartialEq<BitmapError> for BitmapError
[src]pub fn eq(&self, other: &BitmapError) -> bool
[src]
pub fn ne(&self, other: &BitmapError) -> bool
[src]
impl PartialOrd<BitmapError> for BitmapError
[src]
impl PartialOrd<BitmapError> for BitmapError
[src]pub fn partial_cmp(&self, other: &BitmapError) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl SetValue for BitmapError
[src]
impl SetValue for BitmapError
[src]pub unsafe fn set_value(value: &mut Value, this: &BitmapError)
[src]
impl StaticType for BitmapError
[src]
impl StaticType for BitmapError
[src]pub fn static_type() -> Type
[src]
impl StructuralEq for BitmapError
[src]
impl StructuralEq for BitmapError
[src]impl StructuralPartialEq for BitmapError
[src]
impl StructuralPartialEq for BitmapError
[src]Auto Trait Implementations
impl RefUnwindSafe for BitmapError
impl RefUnwindSafe for BitmapError
impl Send for BitmapError
impl Send for BitmapError
impl Sync for BitmapError
impl Sync for BitmapError
impl Unpin for BitmapError
impl Unpin for BitmapError
impl UnwindSafe for BitmapError
impl UnwindSafe for BitmapError
Blanket Implementations
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]pub fn into_color(self) -> To
[src]
impl<T> ToSendValue for T where
T: SetValue + Send + ToValue + ?Sized,
[src]
impl<T> ToSendValue for T where
T: SetValue + Send + ToValue + ?Sized,
[src]pub fn to_send_value(&self) -> SendValue
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,