Struct oxygengine_core::ecs::RefMut
source · [−]pub struct RefMut<'a, T> where
T: Component, { /* private fields */ }
Expand description
Unique borrow of an entity’s component
Trait Implementations
impl<T> Send for RefMut<'_, T> where
T: Component,
impl<T> Sync for RefMut<'_, T> where
T: Component,
Auto Trait Implementations
impl<'a, T> !RefUnwindSafe for RefMut<'a, T>
impl<'a, T> Unpin for RefMut<'a, T>
impl<'a, T> !UnwindSafe for RefMut<'a, T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more