pub trait WithSigned {
type Signed;
// Required method
fn to_signed(self) -> Self::Signed;
}
Expand description
Represents a number type with corresponding signed version
Signed number can implement this trait as well, with type Signed = Self
.