pub struct ClockState {
pub time: ClockTime,
pub angles: HandAngles,
}Expand description
Snapshot of clock state for one frame: source time and derived angles.
Fields§
§time: ClockTimeSource target time supplied by the driver.
angles: HandAnglesAngles derived once per tick by Clock::set_target_time.
Trait Implementations§
Source§impl Clone for ClockState
impl Clone for ClockState
Source§fn clone(&self) -> ClockState
fn clone(&self) -> ClockState
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 ClockState
Source§impl Debug for ClockState
impl Debug for ClockState
Source§impl PartialEq for ClockState
impl PartialEq for ClockState
impl StructuralPartialEq for ClockState
Auto Trait Implementations§
impl Freeze for ClockState
impl RefUnwindSafe for ClockState
impl Send for ClockState
impl Sync for ClockState
impl Unpin for ClockState
impl UnsafeUnpin for ClockState
impl UnwindSafe for ClockState
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