pub trait DataValue: Debug {
type Type: DataType;
// Required methods
fn data_values_are_copy() -> bool;
fn data_type(&self) -> Self::Type;
fn data_value_is_copy(&self) -> bool;
}
Expand description
Common trait for enumerating data values.
Allows extending DataValue*
With
versions.
See also:
Required Associated Types§
Required Methods§
Sourcefn data_values_are_copy() -> bool
fn data_values_are_copy() -> bool
Returns whether all values are Copy
.
Sourcefn data_value_is_copy(&self) -> bool
fn data_value_is_copy(&self) -> bool
Returns whether the specific value is Copy
.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.