Type Definition radians::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 π.

Implementations§

source§

impl<F: Float> Rad<F>

source

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

Converts this angle to degrees.