pub trait IntegerBaseFunctions {
const IS_SIGNED: bool;
// Required methods
fn get_absolute_uint(&self) -> u64;
fn is_val_negative(&self) -> bool;
fn switch_sign_if_possible(&self) -> Self;
fn get_zero() -> Self;
}Required Associated Constants§
Required Methods§
fn get_absolute_uint(&self) -> u64
fn is_val_negative(&self) -> bool
fn switch_sign_if_possible(&self) -> Self
fn get_zero() -> Self
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.