pub struct BeatPosition {
pub beat: u64,
pub tempo: f64,
pub phase: f64,
}Expand description
Beat position — temporal rhythm
Fields§
§beat: u64§tempo: f64§phase: f64Trait Implementations§
Source§impl Clone for BeatPosition
impl Clone for BeatPosition
Source§fn clone(&self) -> BeatPosition
fn clone(&self) -> BeatPosition
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 moreSource§impl Debug for BeatPosition
impl Debug for BeatPosition
Source§impl<'de> Deserialize<'de> for BeatPosition
impl<'de> Deserialize<'de> for BeatPosition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BeatPosition
impl RefUnwindSafe for BeatPosition
impl Send for BeatPosition
impl Sync for BeatPosition
impl Unpin for BeatPosition
impl UnsafeUnpin for BeatPosition
impl UnwindSafe for BeatPosition
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