pub struct Ingested {
pub ops: Vec<EditOp>,
pub spawned: BTreeMap<String, u64>,
pub doc: WorldDoc,
pub warnings: Vec<String>,
}Expand description
A batch the world can take.
Fields§
§ops: Vec<EditOp>The ops to commit: names bound to ids, struct patches merged.
spawned: BTreeMap<String, u64>Entities the batch spawns, name → id.
doc: WorldDocThe document after the batch.
warnings: Vec<String>Validation warnings that didn’t stop the batch.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Ingested
impl RefUnwindSafe for Ingested
impl Send for Ingested
impl Sync for Ingested
impl Unpin for Ingested
impl UnsafeUnpin for Ingested
impl UnwindSafe for Ingested
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