pub trait ScalarRef<'a>:
Debug
+ Clone
+ Send
+ 'a {
type ScalarType: Scalar<RefType<'a> = Self>;
// Required method
fn to_owned_scalar(&self) -> Self::ScalarType;
}Required Associated Types§
Sourcetype ScalarType: Scalar<RefType<'a> = Self>
type ScalarType: Scalar<RefType<'a> = Self>
The corresponding Scalar type.
Required Methods§
Sourcefn to_owned_scalar(&self) -> Self::ScalarType
fn to_owned_scalar(&self) -> Self::ScalarType
Convert the reference into an owned value.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".