Struct rosu_pp::model::control_point::TimingPoint
source · pub struct TimingPoint {
pub time: f64,
pub beat_len: f64,
}
Expand description
Timing-related info about this control point.
Fields§
§time: f64
§beat_len: f64
Implementations§
source§impl TimingPoint
impl TimingPoint
Trait Implementations§
source§impl Clone for TimingPoint
impl Clone for TimingPoint
source§fn clone(&self) -> TimingPoint
fn clone(&self) -> TimingPoint
Returns a copy 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 ControlPoint<BeatmapState> for TimingPoint
impl ControlPoint<BeatmapState> for TimingPoint
source§fn check_already_existing(&self, _: &BeatmapState) -> bool
fn check_already_existing(&self, _: &BeatmapState) -> bool
Whether
self
is redundant w.r.t. an already existing control point.source§fn add(self, state: &mut BeatmapState)
fn add(self, state: &mut BeatmapState)
Adding the control point into the collection. Read more
source§impl Debug for TimingPoint
impl Debug for TimingPoint
source§impl Default for TimingPoint
impl Default for TimingPoint
source§impl PartialEq for TimingPoint
impl PartialEq for TimingPoint
source§fn eq(&self, other: &TimingPoint) -> bool
fn eq(&self, other: &TimingPoint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TimingPoint
impl StructuralPartialEq for TimingPoint
Auto Trait Implementations§
impl Freeze for TimingPoint
impl RefUnwindSafe for TimingPoint
impl Send for TimingPoint
impl Sync for TimingPoint
impl Unpin for TimingPoint
impl UnwindSafe for TimingPoint
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