pub enum Part {
Slice(Arc<Picture>),
CompositionLayer {
layer: Arc<dyn CompositionLayer>,
placement: Placement,
},
}Expand description
One part of a scene, in paint order.
Variants§
Slice(Arc<Picture>)
What the scene paints between two composition layers, or before the first or after the
last, every container open at its ends closed in it: flow’s EmbedderViewSlice. A stretch
that paints nothing has none, as Flutter’s embedder renders no slice without contents.
CompositionLayer
A composition layer, placed under the transforms, clips and opacities above it.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Part
impl !UnwindSafe for Part
impl Freeze for Part
impl Send for Part
impl Sync for Part
impl Unpin for Part
impl UnsafeUnpin for Part
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