pub struct CropElementError { /* private fields */ }Expand description
Fail-closed crop_element resolver diagnostic.
Implementations§
Source§impl CropElementError
impl CropElementError
Sourcepub fn diagnostic(&self) -> &'static str
pub fn diagnostic(&self) -> &'static str
Deterministic diagnostic message for the resolver failure.
Trait Implementations§
Source§impl Clone for CropElementError
impl Clone for CropElementError
Source§fn clone(&self) -> CropElementError
fn clone(&self) -> CropElementError
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 CropElementError
impl Debug for CropElementError
Source§impl Display for CropElementError
impl Display for CropElementError
impl Eq for CropElementError
Source§impl Error for CropElementError
impl Error for CropElementError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 PartialEq for CropElementError
impl PartialEq for CropElementError
Source§fn eq(&self, other: &CropElementError) -> bool
fn eq(&self, other: &CropElementError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CropElementError
Auto Trait Implementations§
impl Freeze for CropElementError
impl RefUnwindSafe for CropElementError
impl Send for CropElementError
impl Sync for CropElementError
impl Unpin for CropElementError
impl UnsafeUnpin for CropElementError
impl UnwindSafe for CropElementError
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