pub struct View<'resource, Target: AsUnsafeHandle> { /* fields omitted */ }
Expand description
A non-owning view of a resource which dereferences to a &Target
or
&mut Target
.
Formats the value using the given formatter. Read more
The resulting type after dereferencing.
Mutably dereferences the value.
impl<'resource, Target> Send for View<'resource, Target> where
Target: Send,
impl<'resource, Target> Sync for View<'resource, Target> where
Target: Sync,
impl<'resource, Target> Unpin for View<'resource, Target> where
Target: Unpin,
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.