pub struct NpcMovementAst {
pub movement_type: NpcMovementTypeAst,
pub rooms: Vec<String>,
pub timing: Option<String>,
pub active: Option<bool>,
pub loop_route: Option<bool>,
}Expand description
Movement configuration emitted for NPCs.
Fields§
§movement_type: NpcMovementTypeAst§rooms: Vec<String>§timing: Option<String>§active: Option<bool>§loop_route: Option<bool>Trait Implementations§
Source§impl Clone for NpcMovementAst
impl Clone for NpcMovementAst
Source§fn clone(&self) -> NpcMovementAst
fn clone(&self) -> NpcMovementAst
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 NpcMovementAst
impl Debug for NpcMovementAst
Source§impl PartialEq for NpcMovementAst
impl PartialEq for NpcMovementAst
impl StructuralPartialEq for NpcMovementAst
Auto Trait Implementations§
impl Freeze for NpcMovementAst
impl RefUnwindSafe for NpcMovementAst
impl Send for NpcMovementAst
impl Sync for NpcMovementAst
impl Unpin for NpcMovementAst
impl UnwindSafe for NpcMovementAst
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