Enum initiative_core::world::thing::ThingRelations
source · pub enum ThingRelations {
None,
Npc(NpcRelations),
Place(PlaceRelations),
}
Variants§
Trait Implementations§
source§impl Debug for ThingRelations
impl Debug for ThingRelations
source§impl Default for ThingRelations
impl Default for ThingRelations
source§fn default() -> ThingRelations
fn default() -> ThingRelations
Returns the “default value” for a type. Read more
source§impl From<NpcRelations> for ThingRelations
impl From<NpcRelations> for ThingRelations
source§fn from(input: NpcRelations) -> Self
fn from(input: NpcRelations) -> Self
Converts to this type from the input type.
source§impl From<PlaceRelations> for ThingRelations
impl From<PlaceRelations> for ThingRelations
source§fn from(input: PlaceRelations) -> Self
fn from(input: PlaceRelations) -> Self
Converts to this type from the input type.
source§impl From<ThingRelations> for NpcRelations
impl From<ThingRelations> for NpcRelations
source§fn from(input: ThingRelations) -> Self
fn from(input: ThingRelations) -> Self
Converts to this type from the input type.
source§impl From<ThingRelations> for PlaceRelations
impl From<ThingRelations> for PlaceRelations
source§fn from(input: ThingRelations) -> Self
fn from(input: ThingRelations) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ThingRelations
impl RefUnwindSafe for ThingRelations
impl Send for ThingRelations
impl Sync for ThingRelations
impl Unpin for ThingRelations
impl UnwindSafe for ThingRelations
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