Struct initiative_core::world::npc::NpcRelations
source · pub struct NpcRelations {
pub location: Option<(Place, Option<Place>)>,
}
Fields§
§location: Option<(Place, Option<Place>)>
Trait Implementations§
source§impl Debug for NpcRelations
impl Debug for NpcRelations
source§impl Default for NpcRelations
impl Default for NpcRelations
source§fn default() -> NpcRelations
fn default() -> NpcRelations
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<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.
Auto Trait Implementations§
impl Freeze for NpcRelations
impl RefUnwindSafe for NpcRelations
impl Send for NpcRelations
impl Sync for NpcRelations
impl Unpin for NpcRelations
impl UnwindSafe for NpcRelations
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