pub struct AnalyticsEngineDataset(/* private fields */);Implementations§
Source§impl AnalyticsEngineDataset
impl AnalyticsEngineDataset
pub fn write_data_point(&self, event: &AnalyticsEngineDataPoint) -> Result<()>
Trait Implementations§
Source§impl AsRef<JsValue> for AnalyticsEngineDataset
impl AsRef<JsValue> for AnalyticsEngineDataset
Source§impl Clone for AnalyticsEngineDataset
impl Clone for AnalyticsEngineDataset
Source§fn clone(&self) -> AnalyticsEngineDataset
fn clone(&self) -> AnalyticsEngineDataset
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AnalyticsEngineDataset
impl Debug for AnalyticsEngineDataset
Source§impl EnvBinding for AnalyticsEngineDataset
impl EnvBinding for AnalyticsEngineDataset
Source§impl From<AnalyticsEngineDataset> for JsValue
impl From<AnalyticsEngineDataset> for JsValue
Source§fn from(analytics_engine: AnalyticsEngineDataset) -> Self
fn from(analytics_engine: AnalyticsEngineDataset) -> Self
Converts to this type from the input type.
Source§impl JsCast for AnalyticsEngineDataset
impl JsCast for AnalyticsEngineDataset
Source§fn instanceof(val: &JsValue) -> bool
fn instanceof(val: &JsValue) -> bool
Performs a dynamic
instanceof check to see whether the JsValue
provided is an instance of this type. Read moreSource§fn unchecked_from_js(val: JsValue) -> Self
fn unchecked_from_js(val: JsValue) -> Self
Source§fn unchecked_from_js_ref(val: &JsValue) -> &Self
fn unchecked_from_js_ref(val: &JsValue) -> &Self
Source§fn has_type<T>(&self) -> boolwhere
T: JsCast,
fn has_type<T>(&self) -> boolwhere
T: JsCast,
Test whether this JS value has a type
T. Read moreSource§fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
Performs a dynamic cast (checked at runtime) of this value into the
target type
T. Read moreSource§fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
Performs a dynamic cast (checked at runtime) of this value into the
target type
T. Read moreSource§fn unchecked_into<T>(self) -> Twhere
T: JsCast,
fn unchecked_into<T>(self) -> Twhere
T: JsCast,
Performs a zero-cost unchecked cast into the specified type. Read more
Source§fn unchecked_ref<T>(&self) -> &Twhere
T: JsCast,
fn unchecked_ref<T>(&self) -> &Twhere
T: JsCast,
Performs a zero-cost unchecked cast into a reference to the specified
type. Read more
impl Send for AnalyticsEngineDataset
impl Sync for AnalyticsEngineDataset
Auto Trait Implementations§
impl Freeze for AnalyticsEngineDataset
impl RefUnwindSafe for AnalyticsEngineDataset
impl Unpin for AnalyticsEngineDataset
impl UnsafeUnpin for AnalyticsEngineDataset
impl UnwindSafe for AnalyticsEngineDataset
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> TryFromJsValue for Twhere
T: JsCast,
impl<T> TryFromJsValue for Twhere
T: JsCast,
Source§impl<S, T> Upcast<T> for S
impl<S, T> Upcast<T> for S
Source§impl<T> VectorRefIntoWasmAbi for T
impl<T> VectorRefIntoWasmAbi for T
Source§fn slice_into_abi(slice: &[T]) -> WasmSlice
fn slice_into_abi(slice: &[T]) -> WasmSlice
Construct the wire representation for
Some(slice). The returned
WasmSlice is either a borrow of the input slice (primitive
case) or a buffer JS owns and frees (handle-shaped case).Source§fn slice_none() -> WasmSlicewhere
Self: Sized,
fn slice_none() -> WasmSlicewhere
Self: Sized,
Wire representation for
None (used by Option<&[T]>). A null
WasmSlice (ptr == 0) is the convention shared with every
other vector-like ABI in the crate.