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 (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 TraceCategoriesAndOptions
impl Debug for TraceCategoriesAndOptions
impl Eq 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 LongRefFromWasmAbi for TraceCategoriesAndOptions
impl LongRefFromWasmAbi for TraceCategoriesAndOptions
Source§type Abi = WasmPtr<WasmRefCell<TraceCategoriesAndOptions>>
type Abi = WasmPtr<WasmRefCell<TraceCategoriesAndOptions>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRef<TraceCategoriesAndOptions>
type Anchor = RcRef<TraceCategoriesAndOptions>
Same as
RefFromWasmAbi::AnchorSource§unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
Same as
RefFromWasmAbi::ref_from_abiSource§impl PartialEq for TraceCategoriesAndOptions
impl PartialEq for TraceCategoriesAndOptions
Source§fn eq(&self, other: &TraceCategoriesAndOptions) -> bool
fn eq(&self, other: &TraceCategoriesAndOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RefFromWasmAbi for TraceCategoriesAndOptions
impl RefFromWasmAbi for TraceCategoriesAndOptions
Source§type Abi = WasmPtr<WasmRefCell<TraceCategoriesAndOptions>>
type Abi = WasmPtr<WasmRefCell<TraceCategoriesAndOptions>>
The Wasm ABI type references to
Self are recovered from.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 RefMutFromWasmAbi for TraceCategoriesAndOptions
impl RefMutFromWasmAbi for TraceCategoriesAndOptions
Source§type Abi = WasmPtr<WasmRefCell<TraceCategoriesAndOptions>>
type Abi = WasmPtr<WasmRefCell<TraceCategoriesAndOptions>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRefMut<TraceCategoriesAndOptions>
type Anchor = RcRefMut<TraceCategoriesAndOptions>
Same as
RefFromWasmAbi::AnchorSource§unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
Same as
RefFromWasmAbi::ref_from_abiimpl StructuralPartialEq for TraceCategoriesAndOptions
impl SupportsConstructor for TraceCategoriesAndOptions
impl SupportsInstanceProperty for TraceCategoriesAndOptions
impl SupportsStaticProperty for TraceCategoriesAndOptions
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 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
Auto Trait Implementations§
impl Freeze for TraceCategoriesAndOptions
impl RefUnwindSafe for TraceCategoriesAndOptions
impl Send for TraceCategoriesAndOptions
impl Sync for TraceCategoriesAndOptions
impl Unpin for TraceCategoriesAndOptions
impl UnsafeUnpin 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::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.