pub enum ItemLocationAst {
Inventory(String),
Room(String),
Npc(String),
Chest(String),
Nowhere(String),
}Expand description
Possible item locations in the DSL.
Variants§
Trait Implementations§
Source§impl Clone for ItemLocationAst
impl Clone for ItemLocationAst
Source§fn clone(&self) -> ItemLocationAst
fn clone(&self) -> ItemLocationAst
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 ItemLocationAst
impl Debug for ItemLocationAst
Source§impl PartialEq for ItemLocationAst
impl PartialEq for ItemLocationAst
impl StructuralPartialEq for ItemLocationAst
Auto Trait Implementations§
impl Freeze for ItemLocationAst
impl RefUnwindSafe for ItemLocationAst
impl Send for ItemLocationAst
impl Sync for ItemLocationAst
impl Unpin for ItemLocationAst
impl UnwindSafe for ItemLocationAst
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