pub enum OverlayCondAst {
FlagSet(String),
FlagUnset(String),
FlagComplete(String),
ItemPresent(String),
ItemAbsent(String),
PlayerHasItem(String),
PlayerMissingItem(String),
NpcPresent(String),
NpcAbsent(String),
NpcInState {
npc: String,
state: NpcStateValue,
},
ItemInRoom {
item: String,
room: String,
},
}Expand description
Overlay predicate used when computing room description variants.
Variants§
FlagSet(String)
FlagUnset(String)
FlagComplete(String)
ItemPresent(String)
ItemAbsent(String)
PlayerHasItem(String)
PlayerMissingItem(String)
NpcPresent(String)
NpcAbsent(String)
NpcInState
ItemInRoom
Trait Implementations§
Source§impl Clone for OverlayCondAst
impl Clone for OverlayCondAst
Source§fn clone(&self) -> OverlayCondAst
fn clone(&self) -> OverlayCondAst
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 OverlayCondAst
impl Debug for OverlayCondAst
Source§impl PartialEq for OverlayCondAst
impl PartialEq for OverlayCondAst
impl StructuralPartialEq for OverlayCondAst
Auto Trait Implementations§
impl Freeze for OverlayCondAst
impl RefUnwindSafe for OverlayCondAst
impl Send for OverlayCondAst
impl Sync for OverlayCondAst
impl Unpin for OverlayCondAst
impl UnwindSafe for OverlayCondAst
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