Struct cansat_core::quantity::Angle
source · pub struct Angle(_);
Implementations§
source§impl Angle
impl Angle
pub const fn from_degrees(value: f32) -> Self
pub fn from_radians(value: f32) -> Self
pub const fn as_degrees(&self) -> f32
pub fn as_radians(&self) -> f32
Trait Implementations§
source§impl PartialEq<Angle> for Angle
impl PartialEq<Angle> for Angle
source§impl PartialOrd<Angle> for Angle
impl PartialOrd<Angle> for Angle
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Angle
impl StructuralPartialEq for Angle
Auto Trait Implementations§
impl RefUnwindSafe for Angle
impl Send for Angle
impl Sync for Angle
impl Unpin for Angle
impl UnwindSafe for Angle
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more