pub struct RefMut<'a, T: Component> { /* private fields */ }
Expand description
Unique borrow of an entity’s component
Trait Implementations
impl<T: Component> Send for RefMut<'_, T>
impl<T: Component> Sync for RefMut<'_, T>
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for RefMut<'a, T> where
T: RefUnwindSafe,
impl<'a, T> Unpin for RefMut<'a, T>
impl<'a, T> UnwindSafe for RefMut<'a, T> where
T: RefUnwindSafe,
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