#[non_exhaustive]pub enum SceneDuration {
Finite(TimeStamp),
Indefinite,
}Expand description
How long a scene lasts on its own clock.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Finite(TimeStamp)
Fixed-length scene. Rendered linearly start→end; finishes at
end and emits no further frames.
Indefinite
Streaming / open-ended. The scene runs forever until an operation explicitly ends it. Used by the RTMP compositor. Seek / rewind are not supported; content is driven forward by wall-clock time + control-plane operations.
Implementations§
Trait Implementations§
Source§impl Clone for SceneDuration
impl Clone for SceneDuration
Source§fn clone(&self) -> SceneDuration
fn clone(&self) -> SceneDuration
Returns a duplicate of the value. Read more
1.0.0 · 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 SceneDuration
impl Debug for SceneDuration
Source§impl PartialEq for SceneDuration
impl PartialEq for SceneDuration
impl Copy for SceneDuration
impl Eq for SceneDuration
impl StructuralPartialEq for SceneDuration
Auto Trait Implementations§
impl Freeze for SceneDuration
impl RefUnwindSafe for SceneDuration
impl Send for SceneDuration
impl Sync for SceneDuration
impl Unpin for SceneDuration
impl UnsafeUnpin for SceneDuration
impl UnwindSafe for SceneDuration
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