pub struct DynamicItem { /* private fields */ }Expand description
A set of components returned from some dynamic query, which belong to some entity satisfying that query.
Implementations§
Source§impl DynamicItem
impl DynamicItem
Sourcepub fn take<T: Component>(&mut self) -> Option<DynamicComponent<T>>
pub fn take<T: Component>(&mut self) -> Option<DynamicComponent<T>>
Take ownership of this item’s borrow of a dynamically queried component.
Trait Implementations§
impl Send for DynamicItem
impl Sync for DynamicItem
Auto Trait Implementations§
impl Freeze for DynamicItem
impl RefUnwindSafe for DynamicItem
impl Unpin for DynamicItem
impl UnwindSafe for DynamicItem
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