Struct ndhistogram::error::BinaryOperationError
source · pub struct BinaryOperationError;
Expand description
Returned if a Histogram binary operation fails (such as h1 + h2). for example because the two histograms have incompatible binning.
Trait Implementations§
source§impl Clone for BinaryOperationError
impl Clone for BinaryOperationError
source§fn clone(&self) -> BinaryOperationError
fn clone(&self) -> BinaryOperationError
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 BinaryOperationError
impl Debug for BinaryOperationError
source§impl Default for BinaryOperationError
impl Default for BinaryOperationError
source§fn default() -> BinaryOperationError
fn default() -> BinaryOperationError
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BinaryOperationError
impl<'de> Deserialize<'de> for BinaryOperationError
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for BinaryOperationError
impl Display for BinaryOperationError
source§impl Error for BinaryOperationError
impl Error for BinaryOperationError
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 Hash for BinaryOperationError
impl Hash for BinaryOperationError
source§impl Ord for BinaryOperationError
impl Ord for BinaryOperationError
source§fn cmp(&self, other: &BinaryOperationError) -> Ordering
fn cmp(&self, other: &BinaryOperationError) -> 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<BinaryOperationError> for BinaryOperationError
impl PartialEq<BinaryOperationError> for BinaryOperationError
source§fn eq(&self, other: &BinaryOperationError) -> bool
fn eq(&self, other: &BinaryOperationError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<BinaryOperationError> for BinaryOperationError
impl PartialOrd<BinaryOperationError> for BinaryOperationError
source§fn partial_cmp(&self, other: &BinaryOperationError) -> Option<Ordering>
fn partial_cmp(&self, other: &BinaryOperationError) -> 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 moresource§impl Serialize for BinaryOperationError
impl Serialize for BinaryOperationError
impl Copy for BinaryOperationError
impl Eq for BinaryOperationError
impl StructuralEq for BinaryOperationError
impl StructuralPartialEq for BinaryOperationError
Auto Trait Implementations§
impl RefUnwindSafe for BinaryOperationError
impl Send for BinaryOperationError
impl Sync for BinaryOperationError
impl Unpin for BinaryOperationError
impl UnwindSafe for BinaryOperationError
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