pub struct Scanline<V: Vary> {
pub y: usize,
pub xs: Range<usize>,
pub vs: <Varyings<V> as Vary>::Iter,
}Expand description
A horizontal, 1-pixel-thick “slice” of a primitive being rasterized.
Fields§
§y: usizeThe y coordinate of the line.
xs: Range<usize>The range of x coordinates spanned by the line.
vs: <Varyings<V> as Vary>::IterIterator emitting the varyings on the line.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<V> Freeze for Scanline<V>
impl<V> RefUnwindSafe for Scanline<V>
impl<V> Send for Scanline<V>
impl<V> Sync for Scanline<V>
impl<V> Unpin for Scanline<V>
impl<V> UnwindSafe for Scanline<V>
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