pub enum Selection {
Multiple,
Single,
None,
}
Expand description
Defines mode of selection.
Note: rstk diverges from the Tk terminology:
- ‘Single’ is equivalent to Tk’s “browse”
- ‘Multiple’ is equivalent to Tk’s “extended”
(Tk’s “single” and “multiple” options are now rarely used (see manual).)
Variants§
Trait Implementations§
source§impl PartialEq for Selection
impl PartialEq for Selection
impl StructuralPartialEq for Selection
Auto Trait Implementations§
impl RefUnwindSafe for Selection
impl Send for Selection
impl Sync for Selection
impl Unpin for Selection
impl UnwindSafe for Selection
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more