pub struct ResolvedScenario {
pub video: VideoConfig,
pub audio: Vec<AudioTrack>,
pub fonts: Vec<FontEntry>,
pub views: Vec<ResolvedView>,
pub included_paths: Vec<PathBuf>,
}Expand description
A scenario with all includes expanded — safe to pass to the rendering pipeline.
Fields§
§video: VideoConfig§audio: Vec<AudioTrack>§fonts: Vec<FontEntry>§views: Vec<ResolvedView>§included_paths: Vec<PathBuf>Local file paths that were included during resolution (for watch mode).
Implementations§
Source§impl ResolvedScenario
impl ResolvedScenario
Sourcepub fn all_scenes(&self) -> impl Iterator<Item = &Scene>
pub fn all_scenes(&self) -> impl Iterator<Item = &Scene>
Iterate over all scenes across all views (for prefetch, validation, etc.)
Sourcepub fn all_scenes_vec(&self) -> Vec<&Scene>
pub fn all_scenes_vec(&self) -> Vec<&Scene>
Collect all scenes into a flat Vec (for indexed access)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ResolvedScenario
impl RefUnwindSafe for ResolvedScenario
impl Send for ResolvedScenario
impl Sync for ResolvedScenario
impl Unpin for ResolvedScenario
impl UnsafeUnpin for ResolvedScenario
impl UnwindSafe for ResolvedScenario
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more