pub struct PixmapMut<'a> {
width: u16,
height: u16,
buf: &'a mut [u8],
}Expand description
A mutable view into premultiplied RGBA8 pixmap data.
Fields§
§width: u16Width of the pixmap in pixels.
height: u16Height of the pixmap in pixels.
buf: &'a mut [u8]Buffer of the pixmap in RGBA8 format.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PixmapMut<'a>
impl<'a> RefUnwindSafe for PixmapMut<'a>
impl<'a> Send for PixmapMut<'a>
impl<'a> Sync for PixmapMut<'a>
impl<'a> Unpin for PixmapMut<'a>
impl<'a> UnsafeUnpin for PixmapMut<'a>
impl<'a> !UnwindSafe for PixmapMut<'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