pub enum Selection<'a, T> {
Any,
Type(Vec<TypeSelection<T>>),
Lang(Vec<LangSelection<'a>>),
}Expand description
Criterion used to pick a term out of the inverse context.
Variants§
Any
Accept any term.
Type(Vec<TypeSelection<T>>)
Prefer terms matching one of the given type criteria, in order.
Lang(Vec<LangSelection<'a>>)
Prefer terms matching one of the given language criteria, in order.
Trait Implementations§
impl<'a, T: PartialEq> StructuralPartialEq for Selection<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for Selection<'a, T>
impl<'a, T> RefUnwindSafe for Selection<'a, T>
impl<'a, T> Send for Selection<'a, T>
impl<'a, T> Sync for Selection<'a, T>
impl<'a, T> Unpin for Selection<'a, T>
impl<'a, T> UnsafeUnpin for Selection<'a, T>
impl<'a, T> UnwindSafe for Selection<'a, T>
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
Source§impl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
Source§fn as_unordered(&self) -> &Unordered<T>
fn as_unordered(&self) -> &Unordered<T>
Views this value as an
Unordered reference.