Struct cgmath::Deg
[−]
[src]
pub struct Deg<S> {
pub s: S,
}An angle, in degrees
Fields
s |
pub struct Deg<S> {
pub s: S,
}An angle, in degrees
s |
impl<S: BaseFloat> Deg<S>fn zero() -> Deg<S>fn full_turn() -> Deg<S>fn turn_div_2() -> Deg<S>fn turn_div_3() -> Deg<S>fn turn_div_4() -> Deg<S>fn turn_div_6() -> Deg<S>impl<S> From<Rad<S>> for Deg<S> where S: BaseFloatimpl<R: Into<Rad<S>>, S: BaseFloat> Add<R> for Deg<S>impl<R: Into<Rad<S>>, S: BaseFloat> Sub<R> for Deg<S>impl<S: BaseFloat> Neg for Deg<S>impl<S: BaseFloat> Zero for Deg<S>impl<R: Into<Rad<S>>, S: BaseFloat> Mul<R> for Deg<S>impl<S: BaseFloat> One for Deg<S>impl<S: BaseFloat> Angle<S> for Deg<S>fn from<A: Angle<S>>(theta: A) -> Deg<S>fn full_turn() -> Deg<S>fn neg_self(&mut self)fn add_a(&self, other: Self) -> Selffn sub_a(&self, other: Self) -> Selffn div_a(&self, other: Self) -> Sfn rem_a(&self, other: Self) -> Sfn mul_s(&self, s: S) -> Selffn div_s(&self, s: S) -> Selffn rem_s(&self, s: S) -> Selffn add_self_a(&mut self, other: Self)fn sub_self_a(&mut self, other: Self)fn mul_self_s(&mut self, s: S)fn div_self_s(&mut self, s: S)fn rem_self_s(&mut self, s: S)fn normalize(&self) -> Selffn normalize_self(&mut self)fn opposite(&self) -> Selffn bisect(&self, other: Self) -> Selffn turn_div_2() -> Selffn turn_div_3() -> Selffn turn_div_4() -> Selffn turn_div_6() -> Selffn equiv(&self, other: &Self) -> boolimpl<S: BaseFloat + Debug> Debug for Deg<S>impl<S: BaseFloat> ApproxEq<S> for Deg<S>fn approx_eq_eps(&self, other: &Deg<S>, epsilon: &S) -> boolfn approx_epsilon(_hack: Option<Self>) -> Tfn approx_eq(&self, other: &Self) -> boolimpl<S: BaseFloat + PartialOrd + SampleRange + Rand> Rand for Deg<S>impl<S: Decodable> Decodable for Deg<S>impl<S: Encodable> Encodable for Deg<S>impl<S: Hash> Hash for Deg<S>fn hash<__H: Hasher>(&self, __arg_0: &mut __H)fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasherimpl<S: PartialOrd> PartialOrd for Deg<S>fn partial_cmp(&self, __arg_0: &Deg<S>) -> Option<Ordering>fn lt(&self, __arg_0: &Deg<S>) -> boolfn le(&self, __arg_0: &Deg<S>) -> boolfn gt(&self, __arg_0: &Deg<S>) -> boolfn ge(&self, __arg_0: &Deg<S>) -> boolimpl<S: PartialEq> PartialEq for Deg<S>impl<S: Clone> Clone for Deg<S>fn clone(&self) -> Deg<S>fn clone_from(&mut self, source: &Self)impl<S: Copy> Copy for Deg<S>