pub struct Layer<B: Backend> {
pub raster: B::Raster,
pub clip: Option<B::Raster>,
pub style: Style,
}
Expand description
2D layer containing a raster with a style.
Fields§
§raster: B::Raster
Layer raster.
clip: Option<B::Raster>
Layer clip.
style: Style
Layer style.
Trait Implementations§
Auto Trait Implementations§
impl<B> Freeze for Layer<B>
impl<B> RefUnwindSafe for Layer<B>
impl<B> Send for Layer<B>
impl<B> Sync for Layer<B>
impl<B> Unpin for Layer<B>
impl<B> UnwindSafe for Layer<B>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)