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

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

A bounded scalar that only takes positive 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 PosNormalChannelScalar for u8[src]

impl PosNormalChannelScalar for u16[src]

impl PosNormalChannelScalar for u32[src]

impl PosNormalChannelScalar for f32[src]

impl PosNormalChannelScalar for f64[src]

Loading content...

Implementors

Loading content...