pub struct SoundScene<Build> { /* private fields */ }Expand description
Explicit sound-declaration scene; the time-zero metadata pass is cached once.
Trait Implementations§
Source§impl<Build, Output> Scene for SoundScene<Build>
impl<Build, Output> Scene for SoundScene<Build>
Source§fn duration(&self) -> Option<Duration>
fn duration(&self) -> Option<Duration>
Natural finite duration, or None when a caller must provide one.
Source§fn render(&self, context: &SceneContext<'_>) -> Node
fn render(&self, context: &SceneContext<'_>) -> Node
Builds one snapshot without retaining previous-frame state.
Source§fn audio_clips(&self) -> Result<Vec<AudioClip>>
fn audio_clips(&self) -> Result<Vec<AudioClip>>
Returns pure audio metadata for precomposition/export, not playback.
Default scenes are silent; callers must preserve local clip coordinates.
Source§fn audio_composition(&self) -> Option<&Timeline>
fn audio_composition(&self) -> Option<&Timeline>
Optional nested timeline ownership, preserved when its audio is relocated.
Source§fn with_duration(self, duration: Duration) -> WithDuration<Self>where
Self: Sized,
fn with_duration(self, duration: Duration) -> WithDuration<Self>where
Self: Sized,
Overrides clip metadata without retiming or clamping the callback. Read more
Auto Trait Implementations§
impl<Build> !Freeze for SoundScene<Build>
impl<Build> Forget for SoundScene<Build>
impl<Build> RefUnwindSafe for SoundScene<Build>where
Build: RefUnwindSafe,
impl<Build> Send for SoundScene<Build>where
Build: Send,
impl<Build> Sync for SoundScene<Build>where
Build: Sync,
impl<Build> Unpin for SoundScene<Build>where
Build: Unpin,
impl<Build> UnsafeUnpin for SoundScene<Build>where
Build: UnsafeUnpin,
impl<Build> UnwindSafe for SoundScene<Build>where
Build: UnwindSafe,
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