pub struct CooldownView {
pub spell_id: u32,
pub uses: u64,
pub possible_uses: u64,
pub drift_sum_ms: u64,
pub max_drift_ms: u32,
pub efficiency: Option<f64>,
pub avg_drift_ms: Option<f64>,
}Expand description
Per-cooldown efficiency and drift summary.
Fields§
§spell_id: u32§uses: u64§possible_uses: u64§drift_sum_ms: u64§max_drift_ms: u32§efficiency: Option<f64>§avg_drift_ms: Option<f64>Trait Implementations§
Source§impl Clone for CooldownView
impl Clone for CooldownView
Source§fn clone(&self) -> CooldownView
fn clone(&self) -> CooldownView
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 CooldownView
impl Debug for CooldownView
Source§impl Serialize for CooldownView
impl Serialize for CooldownView
Source§impl Tsify for CooldownView
impl Tsify for CooldownView
const DECL: &'static str = "/**\n * Per-cooldown efficiency and drift summary.\n */\nexport interface CooldownView {\n spell_id: number;\n uses: number;\n possible_uses: number;\n drift_sum_ms: number;\n max_drift_ms: number;\n efficiency: number | undefined;\n avg_drift_ms: number | undefined;\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 CooldownView
impl RefUnwindSafe for CooldownView
impl Send for CooldownView
impl Sync for CooldownView
impl Unpin for CooldownView
impl UnsafeUnpin for CooldownView
impl UnwindSafe for CooldownView
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