pub struct NewActor {
pub actor_id: ActorId,
pub name_id: Option<i32>,
pub object_id: ObjectId,
pub initial_trajectory: Trajectory,
}
Expand description
Information for a new actor that appears in the game
Fields
actor_id: ActorId
The id given to the new actor
name_id: Option<i32>
An name id
object_id: ObjectId
The actor’s object id.
initial_trajectory: Trajectory
The initial trajectory of the new actor
Trait Implementations
impl Copy for NewActor
impl Eq for NewActor
impl StructuralEq for NewActor
impl StructuralPartialEq for NewActor
Auto Trait Implementations
impl RefUnwindSafe for NewActor
impl Send for NewActor
impl Sync for NewActor
impl Unpin for NewActor
impl UnwindSafe for NewActor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more