pub trait Pushable {
// Required methods
unsafe fn push(&self);
unsafe fn pop(&self);
}
Expand description
Any value that can be applied with a push function and unapplied with a pop function.
Apply to the current frame using Ui::with_push
. If you want to apply several values at the
same time use a tuple or an array.
Only tuples up to 4 values are supported, but you can apply arbitrarily many pushables by
creating tuples of tuples: (A, B, C, (D, E, F, (G, H, I, J)))
.