pub struct LoopPoints {
pub repeat: Meas,
pub last: Option<NonZeroMeas>,
}Expand description
Where the song ends and starts repeating from, as defined by the song.
Fields§
§repeat: MeasThe Meas the song starts playing from when looped.
last: Option<NonZeroMeas>The last Meas the song plays before ending or repeating.
If None, the song will last until the last event has been played.
Implementations§
Source§impl LoopPoints
impl LoopPoints
Trait Implementations§
Source§impl Default for LoopPoints
impl Default for LoopPoints
Source§fn default() -> LoopPoints
fn default() -> LoopPoints
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LoopPoints
impl RefUnwindSafe for LoopPoints
impl Send for LoopPoints
impl Sync for LoopPoints
impl Unpin for LoopPoints
impl UnsafeUnpin for LoopPoints
impl UnwindSafe for LoopPoints
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