pub struct NpcPatchAst {
pub name: Option<String>,
pub desc: Option<String>,
pub state: Option<NpcStateValue>,
pub add_lines: Vec<NpcDialoguePatchAst>,
pub movement: Option<NpcMovementPatchAst>,
}Expand description
Data patch applied to an NPC when executing a modify npc action.
Fields§
§name: Option<String>§desc: Option<String>§state: Option<NpcStateValue>§add_lines: Vec<NpcDialoguePatchAst>§movement: Option<NpcMovementPatchAst>Trait Implementations§
Source§impl Clone for NpcPatchAst
impl Clone for NpcPatchAst
Source§fn clone(&self) -> NpcPatchAst
fn clone(&self) -> NpcPatchAst
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 NpcPatchAst
impl Debug for NpcPatchAst
Source§impl Default for NpcPatchAst
impl Default for NpcPatchAst
Source§fn default() -> NpcPatchAst
fn default() -> NpcPatchAst
Returns the “default value” for a type. Read more
Source§impl PartialEq for NpcPatchAst
impl PartialEq for NpcPatchAst
impl StructuralPartialEq for NpcPatchAst
Auto Trait Implementations§
impl Freeze for NpcPatchAst
impl RefUnwindSafe for NpcPatchAst
impl Send for NpcPatchAst
impl Sync for NpcPatchAst
impl Unpin for NpcPatchAst
impl UnwindSafe for NpcPatchAst
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