pub enum Dungeon {
Light(LightDungeon),
Shadow(ShadowDungeon),
}
Expand description
The category of a dungeon. This is only used internally, so there is no real point for you to use this
Variants§
Light(LightDungeon)
Shadow(ShadowDungeon)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Dungeon
impl<'de> Deserialize<'de> for Dungeon
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<LightDungeon> for Dungeon
impl From<LightDungeon> for Dungeon
Source§fn from(val: LightDungeon) -> Self
fn from(val: LightDungeon) -> Self
Converts to this type from the input type.
Source§impl From<ShadowDungeon> for Dungeon
impl From<ShadowDungeon> for Dungeon
Source§fn from(val: ShadowDungeon) -> Self
fn from(val: ShadowDungeon) -> Self
Converts to this type from the input type.
impl Copy for Dungeon
impl Eq for Dungeon
impl StructuralPartialEq for Dungeon
Auto Trait Implementations§
impl Freeze for Dungeon
impl RefUnwindSafe for Dungeon
impl Send for Dungeon
impl Sync for Dungeon
impl Unpin for Dungeon
impl UnwindSafe for Dungeon
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.