pub struct Scene {
pub root: ContainerLayer,
}Expand description
Flutter Scene: what SceneBuilder::build produces and crate::View::present takes, the
root of one frame’s layer tree, flow’s LayerTree. The view knows its own size.
Two scenes are equal when they show the same: what a host asks to tell a scene equal to the one it shows from one worth drawing. The comparison takes the time of the containers the frame built afresh, since a retained container compares by pointer and a picture by valo’s identity first.
Fields§
§root: ContainerLayerThe root container, whose effect is Effect::None.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Scene
impl !UnwindSafe 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