pub struct CharacterPowerCtx<'a> {
pub character: &'a CharacterState,
pub config: &'a GameConfig,
pub lookups: &'a ContentLookups,
}Expand description
character_power_calculate_script sees (CharacterState) plus the config /
content lookups the balance module carries.
Fields§
§character: &'a CharacterState§config: &'a GameConfig§lookups: &'a ContentLookupsAuto Trait Implementations§
impl<'a> Freeze for CharacterPowerCtx<'a>
impl<'a> RefUnwindSafe for CharacterPowerCtx<'a>
impl<'a> Send for CharacterPowerCtx<'a>
impl<'a> Sync for CharacterPowerCtx<'a>
impl<'a> Unpin for CharacterPowerCtx<'a>
impl<'a> UnwindSafe for CharacterPowerCtx<'a>
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