Struct rosu_pp::beatmap::EffectPoint  
source · pub struct EffectPoint {
    pub time: f64,
    pub kiai: bool,
}Expand description
Control point storing effects and their timestamps.
Fields§
§time: f64The time at which the control point takes effect.
kiai: boolWhether this control point enables Kiai mode.
Implementations§
source§impl EffectPoint
 
impl EffectPoint
sourcepub const DEFAULT_KIAI: bool = false
 
pub const DEFAULT_KIAI: bool = false
The default slider velocity for a DifficultyPoint
sourcepub fn new(time: f64, kiai: bool) -> Self
 
pub fn new(time: f64, kiai: bool) -> Self
Create a new EffectPoint.
Trait Implementations§
source§impl Clone for EffectPoint
 
impl Clone for EffectPoint
source§fn clone(&self) -> EffectPoint
 
fn clone(&self) -> EffectPoint
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 Debug for EffectPoint
 
impl Debug for EffectPoint
source§impl Default for EffectPoint
 
impl Default for EffectPoint
source§impl PartialEq<EffectPoint> for EffectPoint
 
impl PartialEq<EffectPoint> for EffectPoint
source§fn eq(&self, other: &EffectPoint) -> bool
 
fn eq(&self, other: &EffectPoint) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Copy for EffectPoint
impl StructuralPartialEq for EffectPoint
Auto Trait Implementations§
impl RefUnwindSafe for EffectPoint
impl Send for EffectPoint
impl Sync for EffectPoint
impl Unpin for EffectPoint
impl UnwindSafe for EffectPoint
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