pub enum Specifier<T> {
Contextual,
Exact(T),
}Expand description
A value that may not be known now, but is present in the context.
Variants§
Trait Implementations§
Source§impl Resolve<Specifier<EditAction>, EditAction> for EditContext
impl Resolve<Specifier<EditAction>, EditAction> for EditContext
Source§fn resolve(&self, mark: &Specifier<EditAction>) -> EditAction
fn resolve(&self, mark: &Specifier<EditAction>) -> EditAction
Use contextual information to convert a
T into an R.impl<T: Eq> Eq for Specifier<T>
impl<T> StructuralPartialEq for Specifier<T>
Auto Trait Implementations§
impl<T> Freeze for Specifier<T>where
T: Freeze,
impl<T> RefUnwindSafe for Specifier<T>where
T: RefUnwindSafe,
impl<T> Send for Specifier<T>where
T: Send,
impl<T> Sync for Specifier<T>where
T: Sync,
impl<T> Unpin for Specifier<T>where
T: Unpin,
impl<T> UnwindSafe for Specifier<T>where
T: UnwindSafe,
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