pub struct ItemGenerator {
pub affix_pool: AffixPool,
pub level_curve: ItemLevelCurve,
}Expand description
Generates random items by rolling bases and affixes.
Fields§
§affix_pool: AffixPool§level_curve: ItemLevelCurveImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ItemGenerator
impl RefUnwindSafe for ItemGenerator
impl Send for ItemGenerator
impl Sync for ItemGenerator
impl Unpin for ItemGenerator
impl UnsafeUnpin for ItemGenerator
impl UnwindSafe for ItemGenerator
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