pub struct ContextFontStackToken<'ctx> { /* private fields */ }Expand description
Tracks a font pushed through Context::push_font.
The font stack entry is popped when the token is dropped or when
Self::pop is called.
Implementations§
Trait Implementations§
Source§impl Drop for ContextFontStackToken<'_>
impl Drop for ContextFontStackToken<'_>
Auto Trait Implementations§
impl<'ctx> !RefUnwindSafe for ContextFontStackToken<'ctx>
impl<'ctx> !Send for ContextFontStackToken<'ctx>
impl<'ctx> !Sync for ContextFontStackToken<'ctx>
impl<'ctx> !UnwindSafe for ContextFontStackToken<'ctx>
impl<'ctx> Freeze for ContextFontStackToken<'ctx>
impl<'ctx> Unpin for ContextFontStackToken<'ctx>
impl<'ctx> UnsafeUnpin for ContextFontStackToken<'ctx>
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