pub trait MixedRealwhere
Self: MixedNum + MixedNumConversion<u32> + MixedNumConversion<u64> + MixedNumConversion<i32> + MixedNumConversion<i64> + MixedNumConversion<f32> + MixedNumConversion<f64>,{
// Required methods
fn mixed_max_value() -> Self;
fn mixed_min_value() -> Self;
fn mixed_sign(&self) -> Self;
fn mixed_is_positive(&self) -> bool;
fn mixed_is_negative(&self) -> bool;
}Required Methods§
Sourcefn mixed_max_value() -> Self
fn mixed_max_value() -> Self
Maximum value of the type.
Sourcefn mixed_min_value() -> Self
fn mixed_min_value() -> Self
Minimum value of the type.
Sourcefn mixed_sign(&self) -> Self
fn mixed_sign(&self) -> Self
Get the sign of the argument with a unit value. Zero is of positive sign.
Sourcefn mixed_is_positive(&self) -> bool
fn mixed_is_positive(&self) -> bool
Returns a bool if self is positive.
Sourcefn mixed_is_negative(&self) -> bool
fn mixed_is_negative(&self) -> bool
Returns a bool if self is negative.
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.