pub enum NpcLocationAst {
Room(String),
Nowhere(String),
}Expand description
Location specifier used for NPC placement.
Variants§
Trait Implementations§
Source§impl Clone for NpcLocationAst
impl Clone for NpcLocationAst
Source§fn clone(&self) -> NpcLocationAst
fn clone(&self) -> NpcLocationAst
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 NpcLocationAst
impl Debug for NpcLocationAst
Source§impl PartialEq for NpcLocationAst
impl PartialEq for NpcLocationAst
impl StructuralPartialEq for NpcLocationAst
Auto Trait Implementations§
impl Freeze for NpcLocationAst
impl RefUnwindSafe for NpcLocationAst
impl Send for NpcLocationAst
impl Sync for NpcLocationAst
impl Unpin for NpcLocationAst
impl UnwindSafe for NpcLocationAst
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