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