pub trait DataTypeCopy: DataType + Copywhere
Self::Value: DataValueCopy,{
// Provided method
fn data_value_copy_default(&self) -> Option<Self::Value> ⓘ { ... }
}
Expand description
Provided Methods§
Sourcefn data_value_copy_default(&self) -> Option<Self::Value> ⓘ
fn data_value_copy_default(&self) -> Option<Self::Value> ⓘ
Returns the default value for this Copy
type, or None
if not available.
The default implementation forwards to DataType::data_value_default
.
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.