pub struct ItemSet {
pub id: u32,
pub name: &'static str,
pub pieces: Vec<SetItem>,
pub bonuses: Vec<(usize, Vec<(StatKind, f32)>)>,
}Expand description
A full named set with progressive set bonuses.
Fields§
§id: u32§name: &'static str§pieces: Vec<SetItem>§bonuses: Vec<(usize, Vec<(StatKind, f32)>)>Bonus at each count threshold: (pieces_worn, Vec<(StatKind, bonus_value)>)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ItemSet
impl RefUnwindSafe for ItemSet
impl Send for ItemSet
impl Sync for ItemSet
impl Unpin for ItemSet
impl UnsafeUnpin for ItemSet
impl UnwindSafe for ItemSet
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