MCPcopy Create free account
hub / github.com/BillyDM/Firewheel / patch

Method patch

crates/firewheel-core/src/clock.rs:151–161  ·  view source on GitHub ↗
(data: &ParamData, _path: &[u32])

Source from the content-addressed store, hash-verified

149 Self::AtClockMusical(value)
150 }
151}
152
153/// An absolute audio clock instant in units of seconds.
154#[repr(transparent)]
155#[derive(Default, Debug, Clone, Copy, PartialEq, PartialOrd)]
156#[cfg_attr(feature = "bevy_reflect", derive(bevy_reflect::Reflect))]
157#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
158pub struct InstantSeconds(pub f64);
159
160impl InstantSeconds {
161 pub const ZERO: Self = Self(0.0);
162
163 pub const fn new(seconds: f64) -> Self {
164 Self(seconds)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected