pub trait ExtendFloatingPointTypeNew {
type FloatType;
// Required methods
fn new(unrestricted: Option<Unrestricted>, ty: Self::FloatType) -> Self;
fn new_unrestricted() -> Self;
fn new_restricted() -> Self;
}
Expand description
Extension methods for creating floating point types
Required Associated Types§
Required Methods§
fn new(unrestricted: Option<Unrestricted>, ty: Self::FloatType) -> Self
fn new_unrestricted() -> Self
fn new_restricted() -> 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.