pub struct Layer<'a> {
pub bounds: Rectangle,
pub quads: Batch,
pub meshes: Vec<Mesh<'a>>,
pub text: Vec<Text<'a>>,
pub images: Vec<Image>,
pub pipelines: Vec<Pipeline>,
}
Expand description
A group of primitives that should be clipped together.
Fields§
§bounds: Rectangle
The clipping bounds of the Layer
.
quads: Batch
The quads of the Layer
.
meshes: Vec<Mesh<'a>>
The triangle meshes of the Layer
.
text: Vec<Text<'a>>
The text of the Layer
.
images: Vec<Image>
The images of the Layer
.
pipelines: Vec<Pipeline>
The custom pipelines of this Layer
.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Layer<'a>
impl<'a> Send for Layer<'a>
impl<'a> Sync for Layer<'a>
impl<'a> Unpin for Layer<'a>
impl<'a> !UnwindSafe for Layer<'a>
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