pub trait StackSwitcherExt: 'static {
    fn stack(&self) -> Option<Stack>;
    fn set_stack(&self, stack: Option<&impl IsA<Stack>>);
    fn connect_stack_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }
Expand description

Trait containing all StackSwitcher methods.

Implementors

StackSwitcher

Required Methods

Retrieves the stack. See set_stack().

Returns

the stack, or None if none has been set explicitly.

Sets the stack to control.

stack

a Stack

Implementors