Skip to main content

CollectionNavigationExt

Trait CollectionNavigationExt 

Source
pub trait CollectionNavigationExt<This>{
    // Required methods
    fn select_relative(&mut self, forward: bool);
    fn remove_selected(&mut self);
}
Expand description

Derives collection selection and removal from ordered stable identities.

Required Methods§

Source

fn select_relative(&mut self, forward: bool)

Selects the adjacent entry with collection-end wraparound.

Source

fn remove_selected(&mut self)

Removes selection and chooses its nearest remaining neighbor.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<This> CollectionNavigationExt<This> for This

Derives collection selection and removal from ordered stable identities.