[][src]Struct evtclib::raw::Skill

pub struct Skill {
    pub id: i32,
    pub name: [u8; 64],
}

A skill.

Fields

id: i32

Skill id.

name: [u8; 64]

Skill name.

Implementations

impl Skill[src]

pub fn name_string(&self) -> Option<String>[src]

Return the name of the skill as a String.

Returns None if the name is not valid UTF-8.

Trait Implementations

impl Clone for Skill[src]

impl Debug for Skill[src]

impl Default for Skill[src]

impl Eq for Skill[src]

impl Hash for Skill[src]

impl PartialEq<Skill> for Skill[src]

Auto Trait Implementations

impl RefUnwindSafe for Skill

impl Send for Skill

impl Sync for Skill

impl Unpin for Skill

impl UnwindSafe for Skill

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> 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.