pub struct TextureMutCursor<'a> { /* private fields */ }Expand description
Mutable cursor over a texture list.
This cursor is the mutable counterpart to TextureIterator. It is a streaming cursor rather
than a standard iterator so each returned TextureDataMut is tied to the borrow of the cursor
used for that single next() call.
Implementations§
Source§impl<'a> TextureMutCursor<'a>
impl<'a> TextureMutCursor<'a>
Sourcepub fn next(&mut self) -> Option<TextureDataMut<'_>>
pub fn next(&mut self) -> Option<TextureDataMut<'_>>
Advance to the next non-null texture.
Auto Trait Implementations§
impl<'a> Freeze for TextureMutCursor<'a>
impl<'a> !RefUnwindSafe for TextureMutCursor<'a>
impl<'a> !Send for TextureMutCursor<'a>
impl<'a> !Sync for TextureMutCursor<'a>
impl<'a> Unpin for TextureMutCursor<'a>
impl<'a> UnsafeUnpin for TextureMutCursor<'a>
impl<'a> !UnwindSafe for TextureMutCursor<'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