Skip to main content

NegOutput

Trait NegOutput 

Source
pub trait NegOutput: Numeric {
    type Output: Numeric;
}
Expand description

Maps a numeric SQL type to the result type of unary negation.

Required Associated Types§

Source

type Output: Numeric

The resulting SQL type of -expr.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl NegOutput for Any

Source§

impl NegOutput for BigInt

Source§

impl NegOutput for BigIntUnsigned

Source§

impl NegOutput for Decimal

Source§

impl NegOutput for Double

Source§

impl NegOutput for Float

Source§

impl NegOutput for Float4

Source§

impl NegOutput for Float8

Source§

impl NegOutput for Int

Source§

impl NegOutput for Int2

Source§

impl NegOutput for Int4

Source§

impl NegOutput for Int8

Source§

impl NegOutput for IntUnsigned

Source§

impl NegOutput for Integer

Source§

impl NegOutput for MediumInt

Source§

impl NegOutput for MediumIntUnsigned

Source§

impl NegOutput for drizzle_types::sqlite::types::Numeric

Source§

impl NegOutput for drizzle_types::postgres::types::Numeric

Source§

impl NegOutput for Real

Source§

impl NegOutput for SmallInt

Source§

impl NegOutput for SmallIntUnsigned

Source§

impl NegOutput for TinyInt

Source§

impl NegOutput for TinyIntUnsigned

Source§

impl NegOutput for Year