Struct qua_format::TimingPointInfo
source · [−]pub struct TimingPointInfo {
pub start_time: f32,
pub bpm: f32,
pub signature: TimeSignature,
pub hidden: bool,
}Expand description
A moment in time where the BPM of a song changes
If bpm_does_not_affect_scroll_velocity is true, then the BPM will scale the scroll velocity of the map in relation to its base BPM. If there is an existing scroll velocity, then it will be overridden.
Fields
start_time: f32The time in milliseconds for when this timing point begins
bpm: f32The BPM during this timing point
signature: TimeSignatureThe signature during this timing point
Whether timing lines during this timing point should be hidden or not
Trait Implementations
sourceimpl Clone for TimingPointInfo
impl Clone for TimingPointInfo
sourcefn clone(&self) -> TimingPointInfo
fn clone(&self) -> TimingPointInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Default for TimingPointInfo
impl Default for TimingPointInfo
sourceimpl<'de> Deserialize<'de> for TimingPointInfo where
TimingPointInfo: Default,
impl<'de> Deserialize<'de> for TimingPointInfo where
TimingPointInfo: Default,
sourcefn 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
sourceimpl PartialEq<TimingPointInfo> for TimingPointInfo
impl PartialEq<TimingPointInfo> for TimingPointInfo
sourcefn eq(&self, other: &TimingPointInfo) -> bool
fn eq(&self, other: &TimingPointInfo) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &TimingPointInfo) -> bool
fn ne(&self, other: &TimingPointInfo) -> bool
This method tests for !=.
sourceimpl Serialize for TimingPointInfo
impl Serialize for TimingPointInfo
impl StructuralPartialEq for TimingPointInfo
Auto Trait Implementations
impl RefUnwindSafe for TimingPointInfo
impl Send for TimingPointInfo
impl Sync for TimingPointInfo
impl Unpin for TimingPointInfo
impl UnwindSafe for TimingPointInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more