pub struct NpcPresentationInput<'a> {
pub presentation_key: &'a str,
pub sprite_modes: &'a SpriteModeMap,
pub sheet_modes: &'a [String],
}Expand description
Inputs for NPC wildlife presentation (keeps this crate free of sim types).
Fields§
§presentation_key: &'a strCanonical presentation key (combat, pursue, walking, …).
sprite_modes: &'a SpriteModeMap§sheet_modes: &'a [String]Auto Trait Implementations§
impl<'a> Freeze for NpcPresentationInput<'a>
impl<'a> RefUnwindSafe for NpcPresentationInput<'a>
impl<'a> Send for NpcPresentationInput<'a>
impl<'a> Sync for NpcPresentationInput<'a>
impl<'a> Unpin for NpcPresentationInput<'a>
impl<'a> UnsafeUnpin for NpcPresentationInput<'a>
impl<'a> UnwindSafe for NpcPresentationInput<'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