Struct rich_sdl2_rust::texture::lock::Lock
source · pub struct Lock<'texture> { /* private fields */ }
Expand description
A lock of the texture, ready to read/write as the raw pixels.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'texture> RefUnwindSafe for Lock<'texture>
impl<'texture> !Send for Lock<'texture>
impl<'texture> !Sync for Lock<'texture>
impl<'texture> Unpin for Lock<'texture>
impl<'texture> !UnwindSafe for Lock<'texture>
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