#[non_exhaustive]pub struct Paperdoll {
pub stats: CombatStats,
pub introspection: SpecIntrospection,
pub precombat_aura_ids: Vec<u32>,
pub talent_ranks: Vec<(u32, u8)>,
pub item_use_spells: Vec<(GearSlot, u32)>,
pub weapon_main: WeaponStats,
pub weapon_off: Option<WeaponStats>,
}Expand description
Character sheet snapshot returned by SpecHandler::paperdoll.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.stats: CombatStats§introspection: SpecIntrospection§precombat_aura_ids: Vec<u32>§talent_ranks: Vec<(u32, u8)>§item_use_spells: Vec<(GearSlot, u32)>§weapon_main: WeaponStats§weapon_off: Option<WeaponStats>Implementations§
Source§impl Paperdoll
impl Paperdoll
pub fn new( stats: CombatStats, introspection: SpecIntrospection, loadout: PaperdollLoadout, ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Paperdoll
impl RefUnwindSafe for Paperdoll
impl Send for Paperdoll
impl Sync for Paperdoll
impl Unpin for Paperdoll
impl UnsafeUnpin for Paperdoll
impl UnwindSafe for Paperdoll
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more