[][src]Struct esl::Npc

pub struct Npc {
    pub level: u16,
    pub disposition: i8,
    pub reputation: i8,
    pub rank: i8,
    pub gold: i32,
    pub padding: u8,
    pub stats: Either<u16, NpcStats>,
}

Fields

level: u16disposition: i8reputation: i8rank: i8gold: i32padding: u8stats: Either<u16, NpcStats>

Trait Implementations

impl Clone for Npc[src]

impl Debug for Npc[src]

impl<'de> Deserialize<'de> for Npc[src]

impl Eq for Npc[src]

impl From<Npc> for Either<NpcNHRSurrogate12, NpcNHRSurrogate52>[src]

impl From<Npc> for Field[src]

impl PartialEq<Npc> for Npc[src]

impl Serialize for Npc[src]

impl StructuralEq for Npc[src]

impl StructuralPartialEq for Npc[src]

Auto Trait Implementations

impl RefUnwindSafe for Npc

impl Send for Npc

impl Sync for Npc

impl Unpin for Npc

impl UnwindSafe for Npc

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.