Rad

Type Alias Rad 

Source
pub type Rad<F> = Angle<F, Radians>;
Expand description

An angle measured in radians.

This type is guaranteed to be finite (in debug mode). As such, it implements total equality and ordering. Ordering for non-finite values is unspecified.

When formatting with Display, it will be shown as a multiple of π.

Aliased Type§

pub struct Rad<F>(/* private fields */);

Implementations§

Source§

impl<F: Float> Rad<F>

Source

pub fn deg(self) -> Deg<F>

Converts this angle to degrees.