pub struct SlotItemEntryView {
pub item_id: u32,
pub bonus_id_hash: u32,
pub best_perm_dps: f64,
pub best_perm_rank: u32,
pub ci95_half: f64,
pub win_rate_pct: f64,
pub marginal_dps_delta: f64,
}Expand description
A single ranked item within a slot’s top-N.
Fields§
§item_id: u32§bonus_id_hash: u32§best_perm_dps: f64§best_perm_rank: u32§ci95_half: f64§win_rate_pct: f64§marginal_dps_delta: f64Trait Implementations§
Source§impl Clone for SlotItemEntryView
impl Clone for SlotItemEntryView
Source§fn clone(&self) -> SlotItemEntryView
fn clone(&self) -> SlotItemEntryView
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SlotItemEntryView
impl Debug for SlotItemEntryView
Source§impl Serialize for SlotItemEntryView
impl Serialize for SlotItemEntryView
Source§impl Tsify for SlotItemEntryView
impl Tsify for SlotItemEntryView
const DECL: &'static str = "/**\n * A single ranked item within a slot\\\'s top-N.\n */\nexport interface SlotItemEntryView {\n item_id: number;\n bonus_id_hash: number;\n best_perm_dps: number;\n best_perm_rank: number;\n ci95_half: number;\n win_rate_pct: number;\n marginal_dps_delta: number;\n}"
const SERIALIZATION_CONFIG: SerializationConfig
type JsType = JsType
fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
Auto Trait Implementations§
impl Freeze for SlotItemEntryView
impl RefUnwindSafe for SlotItemEntryView
impl Send for SlotItemEntryView
impl Sync for SlotItemEntryView
impl Unpin for SlotItemEntryView
impl UnsafeUnpin for SlotItemEntryView
impl UnwindSafe for SlotItemEntryView
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