pub enum Selection {
All,
Some(Vec<SomeElementType>),
None,
}
Expand description
A parsed selection. Can represent all, none, or some set of ranges and items.
Variants§
All
All elements are in the selected set
Some(Vec<SomeElementType>)
Some elements are in the selected set. The list of selections are in the Vec.
None
No elements are in the selected set
Implementations§
Trait Implementations§
impl StructuralPartialEq for Selection
Auto Trait Implementations§
impl Freeze for Selection
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