pub struct HandAngles {
pub hour: f32,
pub minute: f32,
pub second: f32,
}Expand description
Hand angles in radians. 0 is 12 o’clock; angles increase clockwise.
Fields§
§hour: f32Hour hand angle (period 12 h).
minute: f32Minute hand angle (period 1 h).
second: f32Second hand angle (period 1 min).
Trait Implementations§
Source§impl Clone for HandAngles
impl Clone for HandAngles
Source§fn clone(&self) -> HandAngles
fn clone(&self) -> HandAngles
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HandAngles
Source§impl Debug for HandAngles
impl Debug for HandAngles
Source§impl PartialEq for HandAngles
impl PartialEq for HandAngles
impl StructuralPartialEq for HandAngles
Auto Trait Implementations§
impl Freeze for HandAngles
impl RefUnwindSafe for HandAngles
impl Send for HandAngles
impl Sync for HandAngles
impl Unpin for HandAngles
impl UnsafeUnpin for HandAngles
impl UnwindSafe for HandAngles
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