pub struct SoftSurface<'a> { /* private fields */ }Expand description
Render surface implementation.
Trait Implementations§
Source§impl Fill for SoftSurface<'_>
impl Fill for SoftSurface<'_>
Source§impl Surface for SoftSurface<'_>
impl Surface for SoftSurface<'_>
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<'t> TexelDesignatorMut<'t> for SoftSurface<'_>
impl<'t> TexelDesignatorMut<'t> for SoftSurface<'_>
Source§impl TexelDesignatorRef<'_> for SoftSurface<'_>
impl TexelDesignatorRef<'_> for SoftSurface<'_>
Auto Trait Implementations§
impl<'a> Freeze for SoftSurface<'a>
impl<'a> !RefUnwindSafe for SoftSurface<'a>
impl<'a> !Send for SoftSurface<'a>
impl<'a> !Sync for SoftSurface<'a>
impl<'a> Unpin for SoftSurface<'a>
impl<'a> !UnwindSafe for SoftSurface<'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