pub struct AudioSpan<'a, 's> { /* private fields */ }Expand description
The clips of one span, read from an AudioSpanScratch without copying.
Implementations§
Source§impl<'a> AudioSpan<'a, '_>
impl<'a> AudioSpan<'a, '_>
Sourcepub fn iter(&self) -> impl ExactSizeIterator<Item = ActiveAudioClip<'a>>
pub fn iter(&self) -> impl ExactSizeIterator<Item = ActiveAudioClip<'a>>
The clips in mix order.
Trait Implementations§
Auto Trait Implementations§
impl<'a, 's> Forget for AudioSpan<'a, 's>
impl<'a, 's> Freeze for AudioSpan<'a, 's>
impl<'a, 's> Move for AudioSpan<'a, 's>
impl<'a, 's> RefUnwindSafe for AudioSpan<'a, 's>where
Atomic<usize>: RefUnwindSafe,
OnceLock<Vec<i64>>: RefUnwindSafe,
OnceLock<Vec<Stretch>>: RefUnwindSafe,
impl<'a, 's> Send for AudioSpan<'a, 's>
impl<'a, 's> Sync for AudioSpan<'a, 's>where
RawVecInner: Sync,
BoxRaw<DataBinding>: Sync,
BoxRaw<MotionPath>: Sync,
Arc<Result<CompositionPlan, PlanError>>: Sync,
BoxRaw<TextStyle>: Sync,
BoxRaw<LayoutNode>: Sync,
NodeRef<Owned, String, Animated<EffectValue>, LeafOrInternal>: Sync,
BoxRaw<(String, Animated<EffectValue>)>: Sync,
NodeRef<Owned, String, EffectResourceId, LeafOrInternal>: Sync,
BoxRaw<(String, EffectResourceId)>: Sync,
Arc<GeneratorPlan>: Sync,
NodeRef<Owned, String, TextStylePatch, LeafOrInternal>: Sync,
BoxRaw<(String, TextStylePatch)>: Sync,
RawTable<(DataSetId, usize)>: Sync,
RawTable<(ClipId, (usize, usize))>: Sync,
RawTable<(ClipId, OnceLock<Vec<i64>>)>: Sync,
RawTable<(ClipId, CurveStretches)>: Sync,
impl<'a, 's> Unpin for AudioSpan<'a, 's>
impl<'a, 's> UnsafeUnpin for AudioSpan<'a, 's>
impl<'a, 's> UnwindSafe for AudioSpan<'a, 's>
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