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 PartialOrd for ObjTime
impl PartialOrd for ObjTime
impl Copy for ObjTime
impl Eq for ObjTime
impl StructuralPartialEq for ObjTime
Auto Trait Implementations§
impl Freeze for ObjTime
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more