pub struct ObjTime {
pub track: Track,
pub numerator: u32,
pub denominator: u32,
}
Expand description
A time of the object on the score.
Fields§
§track: Track
The track, or measure, where the object is in.
numerator: u32
The time offset numerator in the track.
denominator: u32
The time offset denominator in the track.
Implementations§
Trait Implementations§
source§impl Ord for ObjTime
impl Ord for ObjTime
source§impl PartialEq for ObjTime
impl PartialEq for ObjTime
source§impl PartialOrd for ObjTime
impl PartialOrd for ObjTime
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 ObjTime
impl Eq for ObjTime
impl StructuralEq for ObjTime
impl StructuralPartialEq for ObjTime
Auto Trait Implementations§
impl RefUnwindSafe for ObjTime
impl Send for ObjTime
impl Sync for ObjTime
impl Unpin for ObjTime
impl UnwindSafe for ObjTime
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