pub struct RasterSink<'a> { /* private fields */ }Expand description
PixelSink over a borrowed (framebuffer, zbuffer) pair.
Wraps a RasterTarget so the DDA path writes through the same
raw-pointer mechanism the scalar rasterizer uses — which keeps the
door open for the same strip/tile-disjoint parallel writes in
DDA.7.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> !UnwindSafe for RasterSink<'a>
impl<'a> Freeze for RasterSink<'a>
impl<'a> RefUnwindSafe for RasterSink<'a>
impl<'a> Send for RasterSink<'a>
impl<'a> Sync for RasterSink<'a>
impl<'a> Unpin for RasterSink<'a>
impl<'a> UnsafeUnpin for RasterSink<'a>
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more