pub struct EmptyResolver<S>where
S: ResolverState,{ /* private fields */ }Expand description
A resolver that does not resolve any values.
Every call to Resolver::resolve() returns None.
This resolver is useful when expressions do not contain any variables or function calls.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for EmptyResolver<S>where
S: Freeze,
impl<S> RefUnwindSafe for EmptyResolver<S>where
S: RefUnwindSafe,
impl<S> Send for EmptyResolver<S>where
S: Send,
impl<S> Sync for EmptyResolver<S>where
S: Sync,
impl<S> Unpin for EmptyResolver<S>where
S: Unpin,
impl<S> UnwindSafe for EmptyResolver<S>where
S: 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