pub struct TalentDescriptionValuesCtx<'a> {
pub talent_level: i64,
pub script: &'a str,
}Expand description
Inputs available to a talent_description_values native fn — the same two
TalentLevel constant and the script source (the multipliers N live in
the source text). The scope_setter for this slot is the identity closure
(compute_description_values_for_talent), so there are no other scope
variables to mirror.
Fields§
§talent_level: i64§script: &'a strAuto Trait Implementations§
impl<'a> Freeze for TalentDescriptionValuesCtx<'a>
impl<'a> RefUnwindSafe for TalentDescriptionValuesCtx<'a>
impl<'a> Send for TalentDescriptionValuesCtx<'a>
impl<'a> Sync for TalentDescriptionValuesCtx<'a>
impl<'a> Unpin for TalentDescriptionValuesCtx<'a>
impl<'a> UnwindSafe for TalentDescriptionValuesCtx<'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