pub struct Read<T: IsResource + Default> { /* private fields */ }Expand description
Immutably borrowed resource that can be created by default.
The resource is automatically sent back to the world on drop.
Trait Implementations
sourceimpl<'a, T: IsResource + Default> CanFetch for Read<T>
impl<'a, T: IsResource + Default> CanFetch for Read<T>
sourceimpl<'a, T: IsResource + Default> Deref for Read<T>
impl<'a, T: IsResource + Default> Deref for Read<T>
sourceimpl<'a, T: Default + Send + Sync + 'static> IntoIterator for &'a Read<T>where
&'a T: IntoIterator,
impl<'a, T: Default + Send + Sync + 'static> IntoIterator for &'a Read<T>where
&'a T: IntoIterator,
sourceimpl<'a, S: Default + Send + Sync + 'static> IntoParallelIterator for &'a Read<S>where
&'a S: IntoParallelIterator,
impl<'a, S: Default + Send + Sync + 'static> IntoParallelIterator for &'a Read<S>where
&'a S: IntoParallelIterator,
type Iter = <&'a S as IntoParallelIterator>::Iter
type Iter = <&'a S as IntoParallelIterator>::Iter
The parallel iterator type that will be created.
type Item = <&'a S as IntoParallelIterator>::Item
type Item = <&'a S as IntoParallelIterator>::Item
The type of item that the parallel iterator will produce.
sourcefn into_par_iter(self) -> Self::Iter
fn into_par_iter(self) -> Self::Iter
Converts self into a parallel iterator. Read more
Auto Trait Implementations
impl<T> !RefUnwindSafe for Read<T>
impl<T> Send for Read<T>
impl<T> Sync for Read<T>
impl<T> Unpin for Read<T>where
T: Unpin,
impl<T> !UnwindSafe for Read<T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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
sourceimpl<'data, I> IntoParallelRefIterator<'data> for Iwhere
I: 'data + ?Sized,
&'data I: IntoParallelIterator,
impl<'data, I> IntoParallelRefIterator<'data> for Iwhere
I: 'data + ?Sized,
&'data I: IntoParallelIterator,
type Iter = <&'data I as IntoParallelIterator>::Iter
type Iter = <&'data I as IntoParallelIterator>::Iter
The type of the parallel iterator that will be returned.
type Item = <&'data I as IntoParallelIterator>::Item
type Item = <&'data I as IntoParallelIterator>::Item
The type of item that the parallel iterator will produce.
This will typically be an &'data T reference type. Read more
sourcefn par_iter(&'data self) -> <I as IntoParallelRefIterator<'data>>::Iter
fn par_iter(&'data self) -> <I as IntoParallelRefIterator<'data>>::Iter
Converts self into a parallel iterator. Read more