pub trait Scalar: Debug + Send + Sync + DynClone + 'static {
// Required methods
fn as_any(&self) -> &(dyn Any + 'static);
fn is_valid(&self) -> bool;
fn data_type(&self) -> &DataType;
}
Expand description
Trait object declaring an optional value with a DataType
.
This trait is often used in APIs that accept multiple scalar types.
Performs copy-assignment from
source
.
Read more
Performs copy-assignment from
source
.
Read more
Performs copy-assignment from
source
.
Read more
Performs copy-assignment from
source
.
Read more
This method tests for self
and other
values to be equal, and is used
by ==
.
This method tests for !=
. The default implementation is almost always
sufficient, and should not be overridden without very good reason.
This method tests for self
and other
values to be equal, and is used
by ==
.
This method tests for !=
. The default implementation is almost always
sufficient, and should not be overridden without very good reason.
This method tests for self
and other
values to be equal, and is used
by ==
.
This method tests for !=
. The default implementation is almost always
sufficient, and should not be overridden without very good reason.