pub struct RateOfTurn(/* private fields */);Expand description
Rate of turn in °/min, as shown by the ROT indicator.
Positive to starboard. Keeps °/min distinct from rad/s.
Implementations§
Source§impl RateOfTurn
impl RateOfTurn
Sourcepub fn from_degrees_per_minute(value: f64) -> Result<Self>
pub fn from_degrees_per_minute(value: f64) -> Result<Self>
Sourcepub fn from_radians_per_second(value: f64) -> Result<Self>
pub fn from_radians_per_second(value: f64) -> Result<Self>
Sourcepub const fn degrees_per_minute(self) -> f64
pub const fn degrees_per_minute(self) -> f64
°/min.
Sourcepub fn radians_per_second(self) -> f64
pub fn radians_per_second(self) -> f64
rad/s.
Sourcepub fn is_to_port(self) -> bool
pub fn is_to_port(self) -> bool
Whether turning to port.
Trait Implementations§
Source§impl Clone for RateOfTurn
impl Clone for RateOfTurn
impl Copy for RateOfTurn
Source§impl Debug for RateOfTurn
impl Debug for RateOfTurn
Source§impl Default for RateOfTurn
impl Default for RateOfTurn
Source§impl Display for RateOfTurn
impl Display for RateOfTurn
Source§impl Neg for RateOfTurn
impl Neg for RateOfTurn
Source§impl PartialEq for RateOfTurn
impl PartialEq for RateOfTurn
Source§impl PartialOrd for RateOfTurn
impl PartialOrd for RateOfTurn
impl StructuralPartialEq for RateOfTurn
Auto Trait Implementations§
impl Freeze for RateOfTurn
impl RefUnwindSafe for RateOfTurn
impl Send for RateOfTurn
impl Sync for RateOfTurn
impl Unpin for RateOfTurn
impl UnsafeUnpin for RateOfTurn
impl UnwindSafe for RateOfTurn
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