pub struct StripFillSegment {
pub tile_x0: u16,
pub tile_x1: u16,
pub tile_y: u16,
}Expand description
A fill region without alpha coverage.
Fields§
§tile_x0: u16The inclusive start x coordinate in tile units.
tile_x1: u16The exclusive end x coordinate in tile units.
tile_y: u16The y coordinate in tile units.
Implementations§
Source§impl StripFillSegment
impl StripFillSegment
Sourcepub const fn pixel_rect(self) -> RectU16
pub const fn pixel_rect(self) -> RectU16
Return this segment’s rectangle in pixel coordinates.
Trait Implementations§
Source§impl Clone for StripFillSegment
impl Clone for StripFillSegment
Source§fn clone(&self) -> StripFillSegment
fn clone(&self) -> StripFillSegment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StripFillSegment
impl Debug for StripFillSegment
Source§impl PartialEq for StripFillSegment
impl PartialEq for StripFillSegment
Source§fn eq(&self, other: &StripFillSegment) -> bool
fn eq(&self, other: &StripFillSegment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for StripFillSegment
impl Eq for StripFillSegment
impl StructuralPartialEq for StripFillSegment
Auto Trait Implementations§
impl Freeze for StripFillSegment
impl RefUnwindSafe for StripFillSegment
impl Send for StripFillSegment
impl Sync for StripFillSegment
impl Unpin for StripFillSegment
impl UnsafeUnpin for StripFillSegment
impl UnwindSafe for StripFillSegment
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