Struct eos_rs::ffi::team_member
source · #[repr(C)]pub struct team_member {Show 36 fields
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub is_leader: bool_,
pub level: u8,
pub joined_at: dungeon_id_8,
pub joined_at_floor: u8,
pub field_0x5: undefined,
pub iq: u16,
pub member_index: i16,
pub team_index: i16,
pub id: monster_id_16,
pub current_hp: u16,
pub max_hp: u16,
pub atk: i8,
pub sp_atk: i8,
pub def: i8,
pub sp_def: i8,
pub field_0x16: undefined,
pub field_0x17: undefined,
pub exp: c_int,
pub moves: [move_; 4],
pub field_0x3C: undefined,
pub field_0x3D: undefined,
pub held_item: item,
pub belly: i16,
pub belly_thousandths: i16,
pub max_belly: i16,
pub max_belly_thousandths: i16,
pub iq_skill_flags: [u32; 3],
pub tactic: tactic_id_8,
pub field_0x59: undefined,
pub field_0x5A: undefined,
pub field_0x5B: undefined,
pub field_0x5C: undefined,
pub field_0x5D: undefined,
pub name: [c_char; 10],
}
Fields§
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§is_leader: bool_
§level: u8
§joined_at: dungeon_id_8
§joined_at_floor: u8
§field_0x5: undefined
§iq: u16
§member_index: i16
§team_index: i16
§id: monster_id_16
§current_hp: u16
§max_hp: u16
§atk: i8
§sp_atk: i8
§def: i8
§sp_def: i8
§field_0x16: undefined
§field_0x17: undefined
§exp: c_int
§moves: [move_; 4]
§field_0x3C: undefined
§field_0x3D: undefined
§held_item: item
§belly: i16
§belly_thousandths: i16
§max_belly: i16
§max_belly_thousandths: i16
§iq_skill_flags: [u32; 3]
§tactic: tactic_id_8
§field_0x59: undefined
§field_0x5A: undefined
§field_0x5B: undefined
§field_0x5C: undefined
§field_0x5D: undefined
§name: [c_char; 10]
Implementations§
source§impl team_member
impl team_member
pub fn f_is_valid(&self) -> bool_
pub fn set_f_is_valid(&mut self, val: bool_)
pub fn flags_unk1(&self) -> u8
pub fn set_flags_unk1(&mut self, val: u8)
pub fn new_bitfield_1( f_is_valid: bool_, flags_unk1: u8 ) -> __BindgenBitfieldUnit<[u8; 1]>
Auto Trait Implementations§
impl RefUnwindSafe for team_member
impl Send for team_member
impl Sync for team_member
impl Unpin for team_member
impl UnwindSafe for team_member
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, 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.