Struct tuix::Stack [−]
pub struct Stack { /* fields omitted */ }
Implementations
impl Stack
impl Stack
pub fn on_index_changed<F>(self, callback: F) -> Stack where
F: 'static + Fn(&mut Stack, &mut State, Entity),
pub fn get_current_index(&self) -> i32
pub fn get_num_pages(&self) -> usize
pub fn set_current_index(
&mut self,
state: &mut State,
entity: Entity,
new_index: i32
)
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Stack
impl !UnwindSafe for Stack
Blanket Implementations
Mutably borrows from an owned value. Read more