pub struct Scene {
pub root: Node,
pub images: ImageFiles,
pub fonts: FontFiles,
pub themed: bool,
pub ids: Ids,
}Expand description
A resolved design: its tree, each distinct image file its Images show and
font file its texts are set in, and whether it is themed — whether any
theme. reference reached its nodes.
Fields§
§root: NodeThe tree’s root node: the root design’s Frame.
images: ImageFilesEach distinct image file the scene’s Images show, by id.
fonts: FontFilesEach font file the scene’s texts are set in, by id.
themed: boolWhether any theme. reference reached the scene’s nodes, so its two
themes can differ.
ids: IdsWhere each node is, by its id: what a patch finds its nodes by.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Scene
impl !UnwindSafe for Scene
impl Forget for Scene
impl Freeze for Scene
impl Send for Scene
impl Sync for Scene
impl Unpin for Scene
impl UnsafeUnpin for Scene
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