pub struct Link {
pub child: Entity,
pub parent: Entity,
pub scope: Entity,
}Expand description
Relinks an entity into another parent.
Fields§
§child: EntityThe entity to move.
parent: EntityIts new parent.
scope: EntityThe scope the command was queued from.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Link
impl Freeze for Link
impl RefUnwindSafe for Link
impl Send for Link
impl Sync for Link
impl Unpin for Link
impl UnsafeUnpin for Link
impl UnwindSafe for Link
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