pub struct DrawListTextureToken<'draw_list, 'tex> { /* private fields */ }Expand description
Tracks a texture pushed to a draw-list texture stack.
The texture is popped when the token is dropped or when Self::pop is
called explicitly.
Implementations§
Source§impl<'draw_list, 'tex> DrawListTextureToken<'draw_list, 'tex>
impl<'draw_list, 'tex> DrawListTextureToken<'draw_list, 'tex>
Trait Implementations§
Source§impl Drop for DrawListTextureToken<'_, '_>
impl Drop for DrawListTextureToken<'_, '_>
Auto Trait Implementations§
impl<'draw_list, 'tex> Freeze for DrawListTextureToken<'draw_list, 'tex>
impl<'draw_list, 'tex> !RefUnwindSafe for DrawListTextureToken<'draw_list, 'tex>
impl<'draw_list, 'tex> !Send for DrawListTextureToken<'draw_list, 'tex>
impl<'draw_list, 'tex> !Sync for DrawListTextureToken<'draw_list, 'tex>
impl<'draw_list, 'tex> Unpin for DrawListTextureToken<'draw_list, 'tex>
impl<'draw_list, 'tex> UnsafeUnpin for DrawListTextureToken<'draw_list, 'tex>
impl<'draw_list, 'tex> !UnwindSafe for DrawListTextureToken<'draw_list, 'tex>
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