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§

source

fn new(unrestricted: Option<Unrestricted>, ty: Self::FloatType) -> Self

source

fn new_unrestricted() -> Self

source

fn new_restricted() -> Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ExtendFloatingPointTypeNew for DoubleType

§

type FloatType = Double

source§

fn new(unrestricted: Option<Unrestricted>, ty: Self::FloatType) -> Self

source§

fn new_unrestricted() -> Self

source§

fn new_restricted() -> Self

source§

impl ExtendFloatingPointTypeNew for FloatType

§

type FloatType = Float

source§

fn new(unrestricted: Option<Unrestricted>, ty: Self::FloatType) -> Self

source§

fn new_unrestricted() -> Self

source§

fn new_restricted() -> Self

Implementors§