pub struct Pixel {
pub x: usize,
pub y: usize,
pub alpha: Scalar,
}
Expand description
Rasterized pixel
Fields§
§x: usize
x-axis coordinate (horizontal coordinate/column)
y: usize
y-axis coordinate (vertical coordinate/row)
alpha: Scalar
alpha value of the pixel
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pixel
impl RefUnwindSafe for Pixel
impl Send for Pixel
impl Sync for Pixel
impl Unpin for Pixel
impl UnwindSafe for Pixel
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