Struct iced_graphics::layer::Layer
source · [−]pub struct Layer<'a> {
pub bounds: Rectangle,
pub quads: Vec<Quad>,
pub meshes: Vec<Mesh<'a>>,
pub text: Vec<Text<'a>>,
pub images: Vec<Image>,
}
Expand description
A group of primitives that should be clipped together.
Fields
bounds: Rectangle
The clipping bounds of the Layer
.
quads: Vec<Quad>
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
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more