Trait Device
Source pub trait Device: Debug {
// Required methods
fn as_any(&self) -> &dyn Any;
fn clone_boxed(&self) -> Box<dyn Device>;
fn eq(&self, rhs: &dyn Device) -> bool;
fn primitive_to_device(&self) -> Box<dyn Primitive>;
}
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.