#[non_exhaustive]pub struct LoopRegion {
pub start: f64,
pub end: f64,
pub sample_start: i64,
pub sample_end: i64,
}Expand description
Musical positions are quarter notes, including for compound meters.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.start: f64Start position in quarter notes.
end: f64Exclusive loop end in quarter notes; greater than start.
sample_start: i64Loop start on the caller’s absolute sample timeline.
sample_end: i64Exclusive loop end in samples; greater than sample_start.
Implementations§
Source§impl LoopRegion
impl LoopRegion
Trait Implementations§
Source§impl Clone for LoopRegion
impl Clone for LoopRegion
impl Copy for LoopRegion
Source§impl Debug for LoopRegion
impl Debug for LoopRegion
Source§impl PartialEq for LoopRegion
impl PartialEq for LoopRegion
impl StructuralPartialEq for LoopRegion
Auto Trait Implementations§
impl Forget for LoopRegion
impl Freeze for LoopRegion
impl Move for LoopRegion
impl RefUnwindSafe for LoopRegion
impl Send for LoopRegion
impl Sync for LoopRegion
impl Unpin for LoopRegion
impl UnsafeUnpin for LoopRegion
impl UnwindSafe for LoopRegion
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