pub struct AudioEvent {
pub lane_id: LaneId,
pub time: Tick,
pub frames: u32,
}Expand description
An audio-frame event covering a span of frames.
Fields§
§lane_id: LaneIdLane the audio plays on.
time: TickTime in ticks.
frames: u32Number of audio frames.
Implementations§
Trait Implementations§
Source§impl Clone for AudioEvent
impl Clone for AudioEvent
Source§fn clone(&self) -> AudioEvent
fn clone(&self) -> AudioEvent
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 AudioEvent
impl Debug for AudioEvent
impl Eq for AudioEvent
Source§impl PartialEq for AudioEvent
impl PartialEq for AudioEvent
impl StructuralPartialEq for AudioEvent
Auto Trait Implementations§
impl Freeze for AudioEvent
impl RefUnwindSafe for AudioEvent
impl Send for AudioEvent
impl Sync for AudioEvent
impl Unpin for AudioEvent
impl UnsafeUnpin for AudioEvent
impl UnwindSafe for AudioEvent
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