pub struct ComponentParents(/* private fields */);Expand description
Component relationships, tracking the parent component of each component
Implementations§
Source§impl ComponentParents
impl ComponentParents
pub fn empty() -> Self
pub fn try_remove(&mut self, key: ComponentBlueprintId)
pub fn get_parent(&self, child: ComponentBlueprintId) -> Option<Parent>
Auto Trait Implementations§
impl Freeze for ComponentParents
impl RefUnwindSafe for ComponentParents
impl Send for ComponentParents
impl Sync for ComponentParents
impl Unpin for ComponentParents
impl UnwindSafe for ComponentParents
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