pub struct EmbeddedLayer {
pub layer: Arc<dyn CompositionLayer>,
pub rect: Rect,
}Expand description
flow’s PlatformViewLayer, named after Flutter’s embedded views: a composition layer the
host composites, embedded in the frame at rect in its container’s coordinates.
Fields§
§layer: Arc<dyn CompositionLayer>The producer’s own handle, so a host reaches the native object behind it directly.
rect: RectTrait Implementations§
Source§impl Clone for EmbeddedLayer
impl Clone for EmbeddedLayer
Source§impl Debug for EmbeddedLayer
impl Debug for EmbeddedLayer
Source§impl PartialEq for EmbeddedLayer
Two are equal when they put the same composition layer, by pointer, at the same place.
impl PartialEq for EmbeddedLayer
Two are equal when they put the same composition layer, by pointer, at the same place.
Auto Trait Implementations§
impl !RefUnwindSafe for EmbeddedLayer
impl !UnwindSafe for EmbeddedLayer
impl Freeze for EmbeddedLayer
impl Send for EmbeddedLayer
impl Sync for EmbeddedLayer
impl Unpin for EmbeddedLayer
impl UnsafeUnpin for EmbeddedLayer
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