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