pub struct TimelineBeatProperties {
pub bar: c_int,
pub beat: c_int,
pub position: c_int,
pub tempo: c_float,
pub time_signature_upper: c_int,
pub time_signature_lower: c_int,
}
Available on crate feature
studio
only.Expand description
Describes a beat on the timeline.
Fields§
§bar: c_int
Bar number (starting from 1).
beat: c_int
Beat number within bar (starting from 1).
position: c_int
Position of the beat on the timeline in milliseconds.
tempo: c_float
Current tempo in beats per minute.
time_signature_upper: c_int
Current time signature upper number (beats per bar).
time_signature_lower: c_int
Current time signature lower number (beat unit).
Trait Implementations§
Source§impl Clone for TimelineBeatProperties
impl Clone for TimelineBeatProperties
Source§fn clone(&self) -> TimelineBeatProperties
fn clone(&self) -> TimelineBeatProperties
Returns a duplicate of the value. Read more
1.0.0 · 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 TimelineBeatProperties
impl Debug for TimelineBeatProperties
Source§impl From<FMOD_STUDIO_TIMELINE_BEAT_PROPERTIES> for TimelineBeatProperties
impl From<FMOD_STUDIO_TIMELINE_BEAT_PROPERTIES> for TimelineBeatProperties
Source§fn from(value: FMOD_STUDIO_TIMELINE_BEAT_PROPERTIES) -> Self
fn from(value: FMOD_STUDIO_TIMELINE_BEAT_PROPERTIES) -> Self
Converts to this type from the input type.
Source§impl From<TimelineBeatProperties> for FMOD_STUDIO_TIMELINE_BEAT_PROPERTIES
impl From<TimelineBeatProperties> for FMOD_STUDIO_TIMELINE_BEAT_PROPERTIES
Source§fn from(value: TimelineBeatProperties) -> Self
fn from(value: TimelineBeatProperties) -> Self
Converts to this type from the input type.
impl Copy for TimelineBeatProperties
Auto Trait Implementations§
impl Freeze for TimelineBeatProperties
impl RefUnwindSafe for TimelineBeatProperties
impl Send for TimelineBeatProperties
impl Sync for TimelineBeatProperties
impl Unpin for TimelineBeatProperties
impl UnwindSafe for TimelineBeatProperties
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