Struct rosu_map::section::hit_objects::SliderEvent
source · pub struct SliderEvent {
pub kind: SliderEventType,
pub span_idx: i32,
pub span_start_time: f64,
pub time: f64,
pub path_progress: f64,
}Expand description
A HitObjectSlider event as generated by SliderEventsIter.
Fields§
§kind: SliderEventType§span_idx: i32§span_start_time: f64§time: f64§path_progress: f64Trait Implementations§
source§impl Clone for SliderEvent
impl Clone for SliderEvent
source§fn clone(&self) -> SliderEvent
fn clone(&self) -> SliderEvent
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 SliderEvent
impl Debug for SliderEvent
source§impl PartialEq for SliderEvent
impl PartialEq for SliderEvent
source§fn eq(&self, other: &SliderEvent) -> bool
fn eq(&self, other: &SliderEvent) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SliderEvent
Auto Trait Implementations§
impl RefUnwindSafe for SliderEvent
impl Send for SliderEvent
impl Sync for SliderEvent
impl Unpin for SliderEvent
impl UnwindSafe for SliderEvent
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