pub struct PitchEvent {
pub lane_id: LaneId,
pub time: Tick,
pub pitch: Pitch,
}Expand description
A bare pitch event without duration or velocity.
Fields§
§lane_id: LaneIdLane the pitch plays on.
time: TickTime in ticks.
pitch: PitchSounding pitch.
Implementations§
Trait Implementations§
Source§impl Clone for PitchEvent
impl Clone for PitchEvent
Source§fn clone(&self) -> PitchEvent
fn clone(&self) -> PitchEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PitchEvent
impl Debug for PitchEvent
impl Eq for PitchEvent
Source§impl PartialEq for PitchEvent
impl PartialEq for PitchEvent
impl StructuralPartialEq for PitchEvent
Auto Trait Implementations§
impl Freeze for PitchEvent
impl RefUnwindSafe for PitchEvent
impl Send for PitchEvent
impl Sync for PitchEvent
impl Unpin for PitchEvent
impl UnsafeUnpin for PitchEvent
impl UnwindSafe for PitchEvent
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