pub struct TraceCategoriesAndOptions { /* private fields */ }
Implementations§
Source§impl TraceCategoriesAndOptions
impl TraceCategoriesAndOptions
pub fn new( category_filter: JsString, trace_options: JsString, ) -> TraceCategoriesAndOptions
pub fn category_filter(&self) -> JsString
pub fn set_category_filter(&mut self, value: JsString)
pub fn trace_options(&self) -> JsString
pub fn set_trace_options(&mut self, value: JsString)
Trait Implementations§
Source§impl Clone for TraceCategoriesAndOptions
impl Clone for TraceCategoriesAndOptions
Source§fn clone(&self) -> TraceCategoriesAndOptions
fn clone(&self) -> TraceCategoriesAndOptions
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 TraceCategoriesAndOptions
impl Debug for TraceCategoriesAndOptions
Source§impl From<TraceCategoriesAndOptions> for JsValue
impl From<TraceCategoriesAndOptions> for JsValue
Source§fn from(value: TraceCategoriesAndOptions) -> Self
fn from(value: TraceCategoriesAndOptions) -> Self
Converts to this type from the input type.
Source§impl RefFromWasmAbi for TraceCategoriesAndOptions
impl RefFromWasmAbi for TraceCategoriesAndOptions
Source§type Anchor = RcRef<TraceCategoriesAndOptions>
type Anchor = RcRef<TraceCategoriesAndOptions>
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 VectorFromWasmAbi for TraceCategoriesAndOptions
impl VectorFromWasmAbi for TraceCategoriesAndOptions
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[TraceCategoriesAndOptions]>
Source§impl VectorIntoJsValue for TraceCategoriesAndOptions
impl VectorIntoJsValue for TraceCategoriesAndOptions
fn vector_into_jsvalue(vector: Box<[TraceCategoriesAndOptions]>) -> JsValue
Source§impl VectorIntoWasmAbi for TraceCategoriesAndOptions
impl VectorIntoWasmAbi for TraceCategoriesAndOptions
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[TraceCategoriesAndOptions]>) -> Self::Abi
Source§impl WasmDescribeVector for TraceCategoriesAndOptions
impl WasmDescribeVector for TraceCategoriesAndOptions
impl Eq for TraceCategoriesAndOptions
impl StructuralPartialEq for TraceCategoriesAndOptions
impl SupportsConstructor for TraceCategoriesAndOptions
impl SupportsInstanceProperty for TraceCategoriesAndOptions
impl SupportsStaticProperty for TraceCategoriesAndOptions
Auto Trait Implementations§
impl Freeze for TraceCategoriesAndOptions
impl RefUnwindSafe for TraceCategoriesAndOptions
impl !Send for TraceCategoriesAndOptions
impl !Sync for TraceCategoriesAndOptions
impl Unpin for TraceCategoriesAndOptions
impl UnwindSafe for TraceCategoriesAndOptions
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::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
.