pub struct CooldownWindowView {
pub spell_id: u32,
pub start_ms: u32,
pub duration_ms: u32,
}Expand description
Time range during which a cooldown-bound ability was active.
Fields§
§spell_id: u32§start_ms: u32§duration_ms: u32Trait Implementations§
Source§impl Clone for CooldownWindowView
impl Clone for CooldownWindowView
Source§fn clone(&self) -> CooldownWindowView
fn clone(&self) -> CooldownWindowView
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 CooldownWindowView
impl Debug for CooldownWindowView
Source§impl Serialize for CooldownWindowView
impl Serialize for CooldownWindowView
Source§impl Tsify for CooldownWindowView
impl Tsify for CooldownWindowView
const DECL: &'static str = "/**\n * Time range during which a cooldown-bound ability was active.\n */\nexport interface CooldownWindowView {\n spell_id: number;\n start_ms: number;\n duration_ms: 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 CooldownWindowView
impl RefUnwindSafe for CooldownWindowView
impl Send for CooldownWindowView
impl Sync for CooldownWindowView
impl Unpin for CooldownWindowView
impl UnsafeUnpin for CooldownWindowView
impl UnwindSafe for CooldownWindowView
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