pub struct StopObj {
pub time: ObjTime,
pub duration: u32,
}
Expand description
An object to stop scrolling of score.
Fields§
§time: ObjTime
Time to start the stop.
duration: u32
Object duration how long stops scrolling of score.
Note that the duration of stopping will not be changed by a current measure length but BPM.
Trait Implementations§
source§impl Ord for StopObj
impl Ord for StopObj
source§impl PartialEq for StopObj
impl PartialEq for StopObj
source§impl PartialOrd for StopObj
impl PartialOrd for StopObj
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for StopObj
impl Eq for StopObj
Auto Trait Implementations§
impl RefUnwindSafe for StopObj
impl Send for StopObj
impl Sync for StopObj
impl Unpin for StopObj
impl UnwindSafe for StopObj
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