Skip to main content

Floating

Trait Floating 

Source
pub trait Floating: Numeric { }
Expand description

Floating-point SQL types.

DialectMarkers
SQLiteReal
PostgreSQLFloat4 (real), Float8 (double precision)
MySQLFloat, Double

Exact decimals (Numeric, Decimal) are not floating.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§