pub struct EntitySnapshot {
pub id: EntityId,
pub components: Vec<ComponentSnapshot>,
}Expand description
An entity snapshot.
Fields§
§id: EntityId§components: Vec<ComponentSnapshot>Trait Implementations§
Source§impl Clone for EntitySnapshot
impl Clone for EntitySnapshot
Source§fn clone(&self) -> EntitySnapshot
fn clone(&self) -> EntitySnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EntitySnapshot
impl Debug for EntitySnapshot
Source§impl PartialEq for EntitySnapshot
impl PartialEq for EntitySnapshot
impl Eq for EntitySnapshot
impl StructuralPartialEq for EntitySnapshot
Auto Trait Implementations§
impl Freeze for EntitySnapshot
impl RefUnwindSafe for EntitySnapshot
impl Send for EntitySnapshot
impl Sync for EntitySnapshot
impl Unpin for EntitySnapshot
impl UnwindSafe for EntitySnapshot
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