pub struct StyleStackToken<'a> { /* private fields */ }Expand description
Tracks a style pushed to the style stack that can be popped by calling .end()
or by dropping.
§Drop order
Tokens sharing this native resource stack must finish in reverse creation order. Window- or table-local tokens must also finish in their originating scope. Prefer the corresponding closure helper when available. Invalid use panics before FFI, with cleanup deferred when the original scope can be restored safely.
Implementations§
Source§impl<'a> StyleStackToken<'a>
impl<'a> StyleStackToken<'a>
Trait Implementations§
Source§impl Drop for StyleStackToken<'_>
impl Drop for StyleStackToken<'_>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for StyleStackToken<'a>
impl<'a> !Send for StyleStackToken<'a>
impl<'a> !Sync for StyleStackToken<'a>
impl<'a> !UnwindSafe for StyleStackToken<'a>
impl<'a> Freeze for StyleStackToken<'a>
impl<'a> Unpin for StyleStackToken<'a>
impl<'a> UnsafeUnpin for StyleStackToken<'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