pub struct ItemLevelCurve {
pub base: u32,
pub rate: f32,
pub jitter: u32,
}Expand description
Maps dungeon depth to appropriate item level range.
Fields§
§base: u32level = base + depth * rate
rate: f32§jitter: u32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ItemLevelCurve
impl RefUnwindSafe for ItemLevelCurve
impl Send for ItemLevelCurve
impl Sync for ItemLevelCurve
impl Unpin for ItemLevelCurve
impl UnsafeUnpin for ItemLevelCurve
impl UnwindSafe for ItemLevelCurve
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