pub struct ItemWidthStackToken<'a>(/* private fields */);Expand description
Tracks a change made with Ui::push_item_width that can be popped
by calling ItemWidthStackToken::end or dropping.
Implementations§
Source§impl<'a> ItemWidthStackToken<'a>
impl<'a> ItemWidthStackToken<'a>
Sourcepub fn end(self)
pub fn end(self)
Pops an item width change made with Ui::push_item_width.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ItemWidthStackToken<'a>
impl<'a> !RefUnwindSafe for ItemWidthStackToken<'a>
impl<'a> !Send for ItemWidthStackToken<'a>
impl<'a> !Sync for ItemWidthStackToken<'a>
impl<'a> Unpin for ItemWidthStackToken<'a>
impl<'a> !UnwindSafe for ItemWidthStackToken<'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