[][src]Trait prisma::channel::scalar::NormalChannelScalar

pub trait NormalChannelScalar: BoundedChannelScalar {
    fn min_bound() -> Self;
fn max_bound() -> Self;
fn is_normalized(&self) -> bool;
fn normalize(self) -> Self; }

A bounded scalar that has positive and negative values

Required methods

fn min_bound() -> Self

The minimum "in-range" value

fn max_bound() -> Self

The maximum "in-range" value

fn is_normalized(&self) -> bool

Returns if the value is in the normal range

fn normalize(self) -> Self

Normalizes the value into the normal range

Loading content...

Implementations on Foreign Types

impl NormalChannelScalar for u8[src]

impl NormalChannelScalar for u16[src]

impl NormalChannelScalar for u32[src]

impl NormalChannelScalar for f32[src]

impl NormalChannelScalar for f64[src]

Loading content...

Implementors

Loading content...