pub enum MatchMode {
Id,
Hierarchy,
Regex,
}Expand description
Match mode used by PathwaySelectOptions::keyword.
Variants§
Id
Exact match against the pathway id column.
Hierarchy
|- or ;-split exact match against the hierarchy column tokens
(case-insensitive). Matches filter_pathways.R:20-23.
Regex
Word-boundary regex search over id/hierarchy/name/altname columns.
Matches the fallback branch of filter_pathways.R:25-30.
Trait Implementations§
impl Copy for MatchMode
impl Eq for MatchMode
impl StructuralPartialEq for MatchMode
Auto Trait Implementations§
impl Freeze for MatchMode
impl RefUnwindSafe for MatchMode
impl Send for MatchMode
impl Sync for MatchMode
impl Unpin for MatchMode
impl UnsafeUnpin for MatchMode
impl UnwindSafe for MatchMode
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