pub struct OverlayLayer {
pub size: Size,
pub origin: Point,
pub primitives: Vec<PrimitiveNode>,
}Expand description
A layer of primitives that a window draws over its scene, in window space.
Fields§
§size: SizeThe layer’s size in logical pixels.
origin: PointWhere the layer’s top left lies in the window.
primitives: Vec<PrimitiveNode>What the layer draws, in draw order.
Trait Implementations§
Source§impl Clone for OverlayLayer
impl Clone for OverlayLayer
Auto Trait Implementations§
impl !RefUnwindSafe for OverlayLayer
impl !Send for OverlayLayer
impl !Sync for OverlayLayer
impl !UnwindSafe for OverlayLayer
impl Forget for OverlayLayer
impl Freeze for OverlayLayer
impl Move for OverlayLayer
impl Unpin for OverlayLayer
impl UnsafeUnpin for OverlayLayer
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