pub struct PiBenchData { /* private fields */ }
Implementations§
Source§impl PiBenchData
impl PiBenchData
pub fn from_text(input: &str) -> Option<PiBenchData>
pub fn to_js_value(&self) -> JsValue
Trait Implementations§
Source§impl From<PiBenchData> for JsValue
impl From<PiBenchData> for JsValue
Source§fn from(value: PiBenchData) -> Self
fn from(value: PiBenchData) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for PiBenchData
impl FromWasmAbi for PiBenchData
Source§impl IntoWasmAbi for PiBenchData
impl IntoWasmAbi for PiBenchData
Source§impl LongRefFromWasmAbi for PiBenchData
impl LongRefFromWasmAbi for PiBenchData
Source§impl OptionFromWasmAbi for PiBenchData
impl OptionFromWasmAbi for PiBenchData
Source§impl OptionIntoWasmAbi for PiBenchData
impl OptionIntoWasmAbi for PiBenchData
Source§impl RefFromWasmAbi for PiBenchData
impl RefFromWasmAbi for PiBenchData
Source§type Anchor = RcRef<PiBenchData>
type Anchor = RcRef<PiBenchData>
The type that holds the reference to
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl RefMutFromWasmAbi for PiBenchData
impl RefMutFromWasmAbi for PiBenchData
Source§impl Serialize for PiBenchData
impl Serialize for PiBenchData
Source§impl TryFromJsValue for PiBenchData
impl TryFromJsValue for PiBenchData
Source§impl VectorFromWasmAbi for PiBenchData
impl VectorFromWasmAbi for PiBenchData
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[PiBenchData]>
Source§impl VectorIntoJsValue for PiBenchData
impl VectorIntoJsValue for PiBenchData
fn vector_into_jsvalue(vector: Box<[PiBenchData]>) -> JsValue
Source§impl VectorIntoWasmAbi for PiBenchData
impl VectorIntoWasmAbi for PiBenchData
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[PiBenchData]>) -> Self::Abi
Source§impl WasmDescribeVector for PiBenchData
impl WasmDescribeVector for PiBenchData
impl SupportsConstructor for PiBenchData
impl SupportsInstanceProperty for PiBenchData
impl SupportsStaticProperty for PiBenchData
Auto Trait Implementations§
impl Freeze for PiBenchData
impl RefUnwindSafe for PiBenchData
impl Send for PiBenchData
impl Sync for PiBenchData
impl Unpin for PiBenchData
impl UnwindSafe for PiBenchData
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> 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::Abi
Source§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
.