pub struct AnalyticsView {
pub core: CoreView,
pub distribution: Option<DistributionView>,
pub actions: Vec<ActionView>,
pub auras: Vec<AuraView>,
pub resources: Vec<ResourceView>,
pub cooldowns: Vec<CooldownView>,
pub execution: Option<ExecutionView>,
pub damage_profile: Option<DamageProfileView>,
pub timeline: Option<TimelineView>,
pub dictionary: DictionaryMap,
}Expand description
Chart-ready view model returned across the WASM boundary.
Fields§
§core: CoreView§distribution: Option<DistributionView>§actions: Vec<ActionView>§auras: Vec<AuraView>§resources: Vec<ResourceView>§cooldowns: Vec<CooldownView>§execution: Option<ExecutionView>§damage_profile: Option<DamageProfileView>§timeline: Option<TimelineView>§dictionary: DictionaryMapTrait Implementations§
Source§impl Clone for AnalyticsView
impl Clone for AnalyticsView
Source§fn clone(&self) -> AnalyticsView
fn clone(&self) -> AnalyticsView
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 AnalyticsView
impl Debug for AnalyticsView
Source§impl From<AnalyticsView> for JsValuewhere
AnalyticsView: Serialize,
impl From<AnalyticsView> for JsValuewhere
AnalyticsView: Serialize,
Source§fn from(value: AnalyticsView) -> Self
fn from(value: AnalyticsView) -> Self
Converts to this type from the input type.
Source§impl IntoWasmAbi for &AnalyticsViewwhere
AnalyticsView: Serialize,
impl IntoWasmAbi for &AnalyticsViewwhere
AnalyticsView: Serialize,
Source§impl IntoWasmAbi for AnalyticsViewwhere
AnalyticsView: Serialize,
impl IntoWasmAbi for AnalyticsViewwhere
AnalyticsView: Serialize,
Source§impl OptionIntoWasmAbi for AnalyticsViewwhere
AnalyticsView: Serialize,
impl OptionIntoWasmAbi for AnalyticsViewwhere
AnalyticsView: Serialize,
Source§impl Serialize for AnalyticsView
impl Serialize for AnalyticsView
Source§impl Tsify for AnalyticsView
impl Tsify for AnalyticsView
const DECL: &'static str = "/**\n * Chart-ready view model returned across the WASM boundary.\n */\nexport interface AnalyticsView {\n core: CoreView;\n distribution: DistributionView | undefined;\n actions: ActionView[];\n auras: AuraView[];\n resources: ResourceView[];\n cooldowns: CooldownView[];\n execution: ExecutionView | undefined;\n damage_profile: DamageProfileView | undefined;\n timeline: TimelineView | undefined;\n dictionary: DictionaryMap;\n}"
const SERIALIZATION_CONFIG: SerializationConfig
type JsType = JsType
fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
Source§impl VectorIntoWasmAbi for AnalyticsViewwhere
AnalyticsView: Serialize,
impl VectorIntoWasmAbi for AnalyticsViewwhere
AnalyticsView: Serialize,
type Abi = <JsType as VectorIntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[Self]>) -> Self::Abi
Source§impl WasmDescribe for AnalyticsView
impl WasmDescribe for AnalyticsView
Source§impl WasmDescribeVector for AnalyticsView
impl WasmDescribeVector for AnalyticsView
Auto Trait Implementations§
impl Freeze for AnalyticsView
impl RefUnwindSafe for AnalyticsView
impl Send for AnalyticsView
impl Sync for AnalyticsView
impl Unpin for AnalyticsView
impl UnsafeUnpin for AnalyticsView
impl UnwindSafe for AnalyticsView
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.