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

pub trait AngularChannelScalar: Clone + PartialEq + PartialOrd + Default + Zero + Add<Self, Output = Self> + Sub<Self, Output = Self> + Angle where
    Self::Scalar: Float
{ fn min_bound() -> Self;
fn max_bound() -> Self;
fn is_normalized(&self) -> bool;
fn normalize(self) -> Self; }

A scalar for periodic, angular channels

Required methods

fn min_bound() -> Self

The minimum unique value

fn max_bound() -> Self

The maximum unique value, equal to the period of the angular unit

fn is_normalized(&self) -> bool

Returns if the angle is in the normal range

fn normalize(self) -> Self

Normalize the angle into its normal range

Loading content...

Implementations on Foreign Types

impl<T> AngularChannelScalar for Deg<T> where
    T: Float
[src]

impl<T> AngularChannelScalar for Rad<T> where
    T: Float
[src]

impl<T> AngularChannelScalar for Turns<T> where
    T: Float
[src]

impl<T> AngularChannelScalar for ArcMinutes<T> where
    T: Float
[src]

impl<T> AngularChannelScalar for ArcSeconds<T> where
    T: Float
[src]

Loading content...

Implementors

Loading content...