pub trait ToSigned {
type Output;
// Required methods
fn to_signed(self) -> Self::Output;
fn negative_one() -> Self::Output;
}Expand description
Converts this value to the signed version using the as cast operation.
Required Associated Types§
Required Methods§
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.