Struct magick_rust::MagickError
source · pub struct MagickError(pub String);
Tuple Fields§
§0: String
Trait Implementations§
source§impl Clone for MagickError
impl Clone for MagickError
source§fn clone(&self) -> MagickError
fn clone(&self) -> MagickError
Returns a copy of the value. Read more
1.0.0 · 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 MagickError
impl Debug for MagickError
source§impl Display for MagickError
impl Display for MagickError
source§impl Error for MagickError
impl Error for MagickError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<&'static str> for MagickError
impl From<&'static str> for MagickError
source§impl Hash for MagickError
impl Hash for MagickError
source§impl Ord for MagickError
impl Ord for MagickError
source§fn cmp(&self, other: &MagickError) -> Ordering
fn cmp(&self, other: &MagickError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for MagickError
impl PartialEq for MagickError
source§fn eq(&self, other: &MagickError) -> bool
fn eq(&self, other: &MagickError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MagickError
impl PartialOrd for MagickError
source§fn partial_cmp(&self, other: &MagickError) -> Option<Ordering>
fn partial_cmp(&self, other: &MagickError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for MagickError
impl StructuralPartialEq for MagickError
Auto Trait Implementations§
impl Freeze for MagickError
impl RefUnwindSafe for MagickError
impl Send for MagickError
impl Sync for MagickError
impl Unpin for MagickError
impl UnwindSafe for MagickError
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