Trait DynArithmetic
Source pub trait DynArithmetic:
AsErr
+ Error
+ Send
+ Sync
+ 'static {
// Required methods
fn as_any(&self) -> &dyn Any;
fn eq(&self, other: &dyn DynArithmetic) -> bool;
fn clone(&self) -> Box<dyn DynArithmetic + Send + Sync + 'static>;
}
Performs copy-assignment from
source
.
Read more
Tests for self
and other
values to be equal, and is used by ==
.
Tests for !=
. The default implementation is almost always sufficient,
and should not be overridden without very good reason.
Tests for self
and other
values to be equal, and is used by ==
.
Tests for !=
. The default implementation is almost always sufficient,
and should not be overridden without very good reason.