pub struct Res<'w, T: Send + 'static> { /* private fields */ }Expand description
Shared read access to a world resource.
Trait Implementations§
Source§impl<T: Send + 'static> SystemParam for Res<'_, T>
impl<T: Send + 'static> SystemParam for Res<'_, T>
Auto Trait Implementations§
impl<'w, T> Freeze for Res<'w, T>
impl<'w, T> RefUnwindSafe for Res<'w, T>where
&'w T: RefUnwindSafe,
impl<'w, T> Send for Res<'w, T>
impl<'w, T> Sync for Res<'w, T>
impl<'w, T> Unpin for Res<'w, T>
impl<'w, T> UnsafeUnpin for Res<'w, T>where
&'w T: UnsafeUnpin,
impl<'w, T> UnwindSafe for Res<'w, T>where
&'w T: 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