pub struct ScanlineSpan {
pub x: i32,
pub len: i32,
pub cover_offset: usize,
}Expand description
A horizontal span within a scanline, referencing coverage data.
For ScanlineU8: len is always positive, cover_offset indexes into
the covers array.
Fields§
§x: i32§len: i32§cover_offset: usizeTrait Implementations§
Source§impl Clone for ScanlineSpan
impl Clone for ScanlineSpan
Source§fn clone(&self) -> ScanlineSpan
fn clone(&self) -> ScanlineSpan
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScanlineSpan
impl Debug for ScanlineSpan
Source§impl Default for ScanlineSpan
impl Default for ScanlineSpan
Source§fn default() -> ScanlineSpan
fn default() -> ScanlineSpan
Returns the “default value” for a type. Read more
impl Copy for ScanlineSpan
Auto Trait Implementations§
impl Freeze for ScanlineSpan
impl RefUnwindSafe for ScanlineSpan
impl Send for ScanlineSpan
impl Sync for ScanlineSpan
impl Unpin for ScanlineSpan
impl UnsafeUnpin for ScanlineSpan
impl UnwindSafe for ScanlineSpan
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