Type Definition eos_rs::api::iq::IqSkillId

source ·
pub type IqSkillId = iq_skill_id;
Expand description

An IQ Skill ID with associated methods to get metadata.

Use the associated constants or the Self::new method to get instances of this.

Implementations§

source§

impl IqSkillId

This impl provides general metadata about IQ Skills in the game.

source

pub const unsafe fn new(id: u32) -> Self

Returns the ID struct for the IQ Skill with the given ID.

Safety

The caller must make sure the ID is valid (refers to an existing IQ Skill), otherwise this is UB.

source

pub const fn id(&self) -> u32

Returns the ID of this IQ Skill.

Trait Implementations§

source§

impl Copy for IqSkillId