pub struct Res<'a, R>(_);
Expand description
An immutable borrow of a resource.
Trait Implementations
Auto Trait Implementations
impl<'a, R> !RefUnwindSafe for Res<'a, R>
impl<'a, R> !Send for Res<'a, R>
impl<'a, R> !Sync for Res<'a, R>
impl<'a, R> Unpin for Res<'a, R>
impl<'a, R> !UnwindSafe for Res<'a, R>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more