pub struct StippleGate<'t> { /* private fields */ }Expand description
Collects Stipple instances from the user, and provides an owned vec to LayerGate when the user has finished generating instances.
Implementations§
Source§impl<'t> StippleGate<'t>
impl<'t> StippleGate<'t>
pub fn new(mask: &'t MaskHandle) -> StippleGate<'_>
pub fn new_with_texture( mask: &'t MaskHandle, texture: &'t TextureHandle, ) -> StippleGate<'t>
pub fn draw(&mut self, stipple: Stipple)
Auto Trait Implementations§
impl<'t> Freeze for StippleGate<'t>
impl<'t> !RefUnwindSafe for StippleGate<'t>
impl<'t> !Send for StippleGate<'t>
impl<'t> !Sync for StippleGate<'t>
impl<'t> Unpin for StippleGate<'t>
impl<'t> !UnwindSafe for StippleGate<'t>
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