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> Freeze for Lock<'texture>
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