pub struct StencilImage<'a, 'b> { /* private fields */ }Expand description
A stencil image.
Implementations§
Source§impl<'a, 'b> StencilImage<'a, 'b>
impl<'a, 'b> StencilImage<'a, 'b>
Sourcepub fn with_stencil(&self, func: impl FnOnce(LumaData, &Paint<'a>))
pub fn with_stencil(&self, func: impl FnOnce(LumaData, &Paint<'a>))
Perform some operation with the stencil data of the image.
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'b> Freeze for StencilImage<'a, 'b>
impl<'a, 'b> !RefUnwindSafe for StencilImage<'a, 'b>
impl<'a, 'b> !Send for StencilImage<'a, 'b>
impl<'a, 'b> !Sync for StencilImage<'a, 'b>
impl<'a, 'b> Unpin for StencilImage<'a, 'b>
impl<'a, 'b> !UnwindSafe for StencilImage<'a, '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