pub struct Scene {
pub picture: Arc<Picture>,
pub surfaces: Vec<SurfacePlacement>,
}Expand description
Flutter Scene — what SceneBuilder::build produces and crate::View::present takes:
the framework’s picture, and the native surfaces this frame places, bottom-most first.
A host without a compositor uses the picture alone.
Fields§
§picture: Arc<Picture>§surfaces: Vec<SurfacePlacement>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