Struct pixel_engine::graphics::SpriteMutRef
source · pub struct SpriteMutRef<'spr> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<'spr> Debug for SpriteMutRef<'spr>
impl<'spr> Debug for SpriteMutRef<'spr>
source§impl<'spr> DrawSpriteTrait for SpriteMutRef<'spr>
impl<'spr> DrawSpriteTrait for SpriteMutRef<'spr>
source§unsafe fn get_pixel_unchecked(&self, pos: Vec2d<u32>) -> Color
unsafe fn get_pixel_unchecked(&self, pos: Vec2d<u32>) -> Color
Safety
its up to the caller to make sure that the given position is in bounds
source§unsafe fn set_pixel_unchecked(&mut self, pos: Vec2d<u32>, col: Color)
unsafe fn set_pixel_unchecked(&mut self, pos: Vec2d<u32>, col: Color)
Safety
its up to the caller to make sure that the given position is in bounds