Struct rosu_pp::model::beatmap::BeatmapState
source · pub struct BeatmapState { /* private fields */ }
Expand description
The state of a Beatmap
for DecodeBeatmap
.
Trait Implementations§
source§impl ControlPoint<BeatmapState> for DifficultyPoint
impl ControlPoint<BeatmapState> for DifficultyPoint
source§fn check_already_existing(&self, state: &BeatmapState) -> bool
fn check_already_existing(&self, state: &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 ControlPoint<BeatmapState> for EffectPoint
impl ControlPoint<BeatmapState> for EffectPoint
source§fn check_already_existing(&self, state: &BeatmapState) -> bool
fn check_already_existing(&self, state: &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 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 DecodeState for BeatmapState
impl DecodeState for BeatmapState
source§impl From<BeatmapState> for Beatmap
impl From<BeatmapState> for Beatmap
source§fn from(state: BeatmapState) -> Self
fn from(state: BeatmapState) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BeatmapState
impl RefUnwindSafe for BeatmapState
impl !Send for BeatmapState
impl !Sync for BeatmapState
impl Unpin for BeatmapState
impl UnwindSafe for BeatmapState
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