Struct rustc_data_structures::unify::NoError [−]
pub struct NoError {
_dummy: (),
}Expand description
A struct which can never be instantiated. Used for the error type for infallible cases.
Fields
_dummy: ()Auto Trait Implementations
impl RefUnwindSafe for NoError
impl Send for NoError
impl Sync for NoError
impl Unpin for NoError
impl UnwindSafe for NoError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,