pub struct PixelsSurface<'s, 'w> { /* private fields */ }Expand description
Render surface implementation.
Trait Implementations§
Source§impl Fill for PixelsSurface<'_, '_>
impl Fill for PixelsSurface<'_, '_>
Source§impl Surface for PixelsSurface<'_, '_>
impl Surface for PixelsSurface<'_, '_>
Source§fn texel(&self, x: u32, y: u32) -> Option<TexelRef<'_, Self>>
fn texel(&self, x: u32, y: u32) -> Option<TexelRef<'_, Self>>
Get texel reference given its coordinates.
Source§fn texel_mut(&mut self, x: u32, y: u32) -> Option<TexelMut<'_, Self>>
fn texel_mut(&mut self, x: u32, y: u32) -> Option<TexelMut<'_, Self>>
Get mutable texel reference given its coordinates.
Source§unsafe fn unsafe_texel(&self, x: u32, y: u32) -> TexelRef<'_, Self>
unsafe fn unsafe_texel(&self, x: u32, y: u32) -> TexelRef<'_, Self>
Get texel reference given its coordinates unsafely. Read more
Source§impl<'a> TexelDesignatorMut<'a> for PixelsSurface<'_, '_>
impl<'a> TexelDesignatorMut<'a> for PixelsSurface<'_, '_>
Source§impl<'a> TexelDesignatorRef<'a> for PixelsSurface<'_, '_>
impl<'a> TexelDesignatorRef<'a> for PixelsSurface<'_, '_>
Auto Trait Implementations§
impl<'s, 'w> Freeze for PixelsSurface<'s, 'w>
impl<'s, 'w> !RefUnwindSafe for PixelsSurface<'s, 'w>
impl<'s, 'w> Send for PixelsSurface<'s, 'w>
impl<'s, 'w> Sync for PixelsSurface<'s, 'w>
impl<'s, 'w> Unpin for PixelsSurface<'s, 'w>
impl<'s, 'w> !UnwindSafe for PixelsSurface<'s, 'w>
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