pub struct PlacedNpcPresentationInput<'a> {
pub is_talking: bool,
pub schedule_action: Option<&'a str>,
pub is_moving: bool,
}Expand description
Town / building NPCs — schedule + conversation.
Fields§
§is_talking: bool§schedule_action: Option<&'a str>travel, work, idle, rest, sleep, patrol, hidden
is_moving: boolTrait Implementations§
Source§impl<'a> Clone for PlacedNpcPresentationInput<'a>
impl<'a> Clone for PlacedNpcPresentationInput<'a>
Source§fn clone(&self) -> PlacedNpcPresentationInput<'a>
fn clone(&self) -> PlacedNpcPresentationInput<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for PlacedNpcPresentationInput<'a>
Auto Trait Implementations§
impl<'a> Freeze for PlacedNpcPresentationInput<'a>
impl<'a> RefUnwindSafe for PlacedNpcPresentationInput<'a>
impl<'a> Send for PlacedNpcPresentationInput<'a>
impl<'a> Sync for PlacedNpcPresentationInput<'a>
impl<'a> Unpin for PlacedNpcPresentationInput<'a>
impl<'a> UnsafeUnpin for PlacedNpcPresentationInput<'a>
impl<'a> UnwindSafe for PlacedNpcPresentationInput<'a>
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