Struct eos_rs::ffi::exclusive_item_effect_id
source · #[repr(transparent)]pub struct exclusive_item_effect_id(_);
Implementations§
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
This impl provides general metadata about exclusive item effects in the game.
sourcepub const unsafe fn new(id: u32) -> Self
pub const unsafe fn new(id: u32) -> Self
Returns the ID struct for the exclusive item effect with the given ID.
Safety
The caller must make sure the ID is valid (refers to an existing exclusive item effect), otherwise this is UB.
sourcepub fn set_exclusive_item_effect(&self, effect_flags: &mut u32)
pub fn set_exclusive_item_effect(&self, effect_flags: &mut u32)
Sets the bit for an exclusive item effect.
sourcepub fn test_exclusive_item_effect_flag(&self, effect_flags: &mut u32) -> bool
pub fn test_exclusive_item_effect_flag(&self, effect_flags: &mut u32) -> bool
Tests the exclusive item bitvector for a specific exclusive item effect.
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_STAT_BOOST: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_NO_PARALYSIS: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_NO_CONFUSION: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_NO_INFATUATION: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_NO_FREEZE: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_NO_CRITICAL_HITS: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_NO_EXPLOSION_DAMAGE: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_NO_MOVE_DISABLING: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_NO_WEATHER_DAMAGE: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_NO_SLEEP: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_UNUSED_0xC: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_MAY_SLEEP_ATTACKERS: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_MAY_BURN_ATTACKERS: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_MAY_FREEZE_ATTACKERS: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_MAY_CRINGE_ATTACKERS: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_MAY_SLOW_ATTACKERS: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_MAY_ENDURE: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_LONG_TOSS: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_MAY_BOUNCE_MOVES: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_NO_STAT_DROPS: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_NO_STATUS_WHEN_CLEAR: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_NO_STATUS_WHEN_SUNNY: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_NO_STATUS_WHEN_RAINY: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_NO_STATUS_WHEN_HAIL: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_NO_STATUS_WHEN_FOGGY: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_SCRAPPY: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_MIRACLE_EYE: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_MAX_PP_BOOST: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_UNUSED_0x4B: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_MAX_HP_BOOST: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_UNUSED_0x4D: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_UNUSED_0x4E: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_EXP_BOOST: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_EXP_FROM_DAMAGE: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_MAY_NOT_CONSUME_PP: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_BOUNCE_THROWN_ITEMS: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_MORE_TREASURE_DROPS: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_PRESSURE_BOOST: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_NO_STATUS: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_HALVED_DAMAGE: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_DAMAGE_BOOST_50_PCT: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_MORE_KECLEON_SHOPS: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_MORE_HIDDEN_STAIRS: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_NO_FRIENDLY_FIRE: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_PICKUP_BOOST: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_MORE_MONEY_DROPS: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_UNUSED_0x63: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_NO_FIRE_DAMAGE: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_NO_WATER_DAMAGE: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_NO_GRASS_DAMAGE: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_NO_ELECTRIC_DAMAGE: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_NO_FIGHTING_DAMAGE: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_NO_GROUND_DAMAGE: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_NO_FLYING_DAMAGE: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_NO_PSYCHIC_DAMAGE: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_NO_GHOST_DAMAGE: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_NO_DRAGON_DAMAGE: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_NO_DARK_DAMAGE: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_NO_STEEL_DAMAGE: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_ABSORB_FIRE_DAMAGE: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_ABSORB_WATER_DAMAGE: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_ABSORB_GRASS_DAMAGE: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_ABSORB_ICE_DAMAGE: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_ABSORB_GROUND_DAMAGE: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_ABSORB_FLYING_DAMAGE: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_ABSORB_BUG_DAMAGE: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_ABSORB_ROCK_DAMAGE: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_ABSORB_GHOST_DAMAGE: exclusive_item_effect_id = _
source§impl exclusive_item_effect_id
impl exclusive_item_effect_id
pub const EXCLUSIVE_EFF_ABSORB_DRAGON_DAMAGE: exclusive_item_effect_id = _
Trait Implementations§
source§impl Clone for exclusive_item_effect_id
impl Clone for exclusive_item_effect_id
source§fn clone(&self) -> exclusive_item_effect_id
fn clone(&self) -> exclusive_item_effect_id
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl From<exclusive_item_effect_id> for u32
impl From<exclusive_item_effect_id> for u32
source§fn from(v: ExclusiveItemEffectId) -> Self
fn from(v: ExclusiveItemEffectId) -> Self
Converts to this type from the input type.
source§impl Hash for exclusive_item_effect_id
impl Hash for exclusive_item_effect_id
source§impl PartialEq<exclusive_item_effect_id> for exclusive_item_effect_id
impl PartialEq<exclusive_item_effect_id> for exclusive_item_effect_id
source§fn eq(&self, other: &exclusive_item_effect_id) -> bool
fn eq(&self, other: &exclusive_item_effect_id) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for exclusive_item_effect_id
impl StructuralEq for exclusive_item_effect_id
impl StructuralPartialEq for exclusive_item_effect_id
Auto Trait Implementations§
impl RefUnwindSafe for exclusive_item_effect_id
impl Send for exclusive_item_effect_id
impl Sync for exclusive_item_effect_id
impl Unpin for exclusive_item_effect_id
impl UnwindSafe for exclusive_item_effect_id
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where T: CheckedCast<Dst>,
Casts the value.
source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere U: From<T>,
source§impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere Dst: LosslessTryFrom<Src>,
source§fn lossless_try_into(self) -> Option<Dst>
fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.
source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
impl<Src, Dst> LossyInto<Dst> for Srcwhere Dst: LossyFrom<Src>,
source§fn lossy_into(self) -> Dst
fn lossy_into(self) -> Dst
Performs the conversion.
source§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where T: OverflowingCast<Dst>,
Casts the value.
source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere T: SaturatingCast<Dst>,
Casts the value.
source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
§impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere T: Clone,
§impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
impl<T, U> TryFrom<U> for Twhere U: Into<T>,
§impl<T, U> TryInto<U> for Twhere
U: TryFrom<T>,
impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,
source§impl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere T: UnwrappedCast<Dst>,
Casts the value.
source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
source§impl<T> WrappingAs for T
impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere T: WrappingCast<Dst>,
Casts the value.
source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere Src: WrappingCast<Dst>,
source§fn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.