You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
push_item_with (and related functions) comes with the comment:
/// Returns an `ItemWidthStackToken` that may be popped by calling `.pop()`
but ItemWidthStackToken doesn't seem to have a pop function. Instead, it seems that Drop should be used. Is the correct usage to create a scope and call push_item_with inside it?
The text was updated successfully, but these errors were encountered:
It was changed to .end as the macro code for the tokens is shared across all similar tokens, including those used for things like ui.window(...) (where .end() makes more sense)
We could have maybe had separate macros for both an "end token" and "pop token" (or had both methods), but there's not a huge amount of benefit I think (both names are kind of interchangable, and the preferred way is just to use the drop impl)
push_item_with
(and related functions) comes with the comment:/// Returns an `ItemWidthStackToken` that may be popped by calling `.pop()`
but
ItemWidthStackToken
doesn't seem to have apop
function. Instead, it seems thatDrop
should be used. Is the correct usage to create a scope and callpush_item_with
inside it?The text was updated successfully, but these errors were encountered: