pub struct StagedBody {
pub what: &'static str,
pub id: String,
pub entity: String,
}Expand description
One body a campaign can put into the world, with the entity type it ships as.
Fields§
§what: &'static strWhat declares it: wave-mob, npc, actor, actor-twin (the
real-AI body an unleash-actor summons) or volley-projectile.
id: StringThe declaring object’s id (the wave, NPC or actor id; for a volley, the
JSON pointer of the volley effect).
entity: StringThe entity type the body ships as.
Trait Implementations§
Source§impl Clone for StagedBody
impl Clone for StagedBody
Source§impl Debug for StagedBody
impl Debug for StagedBody
impl Eq for StagedBody
Source§impl PartialEq for StagedBody
impl PartialEq for StagedBody
impl StructuralPartialEq for StagedBody
Auto Trait Implementations§
impl Freeze for StagedBody
impl RefUnwindSafe for StagedBody
impl Send for StagedBody
impl Sync for StagedBody
impl Unpin for StagedBody
impl UnsafeUnpin for StagedBody
impl UnwindSafe for StagedBody
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