pub struct SpanSolid<C> { /* private fields */ }Expand description
Solid color span generator.
Fills every pixel with the same color. Useful as a baseline span generator and for testing the generic span rendering pipeline.
Port of C++ span_solid<ColorT>.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<C> Freeze for SpanSolid<C>where
C: Freeze,
impl<C> RefUnwindSafe for SpanSolid<C>where
C: RefUnwindSafe,
impl<C> Send for SpanSolid<C>where
C: Send,
impl<C> Sync for SpanSolid<C>where
C: Sync,
impl<C> Unpin for SpanSolid<C>where
C: Unpin,
impl<C> UnwindSafe for SpanSolid<C>where
C: UnwindSafe,
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