pub struct ID(/* private fields */);Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ID
impl<'de> Deserialize<'de> for ID
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ID, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ID, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromWasmAbi for ID
impl FromWasmAbi for ID
Source§impl IntoWasmAbi for ID
impl IntoWasmAbi for ID
Source§impl LongRefFromWasmAbi for ID
impl LongRefFromWasmAbi for ID
Source§impl OptionFromWasmAbi for ID
impl OptionFromWasmAbi for ID
Source§impl OptionIntoWasmAbi for ID
impl OptionIntoWasmAbi for ID
Source§impl Ord for ID
impl Ord for ID
Source§impl PartialOrd for ID
impl PartialOrd for ID
Source§impl RefFromWasmAbi for ID
impl RefFromWasmAbi for ID
Source§type Anchor = RcRef<ID>
type Anchor = RcRef<ID>
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§unsafe fn ref_from_abi(
js: <ID as RefFromWasmAbi>::Abi,
) -> <ID as RefFromWasmAbi>::Anchor
unsafe fn ref_from_abi( js: <ID as RefFromWasmAbi>::Abi, ) -> <ID as RefFromWasmAbi>::Anchor
Source§impl RefMutFromWasmAbi for ID
impl RefMutFromWasmAbi for ID
Source§impl Serialize for ID
impl Serialize for ID
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl TryFromJsValue for ID
impl TryFromJsValue for ID
Source§impl VectorFromWasmAbi for ID
impl VectorFromWasmAbi for ID
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: <ID as VectorFromWasmAbi>::Abi) -> Box<[ID]>
Source§impl VectorIntoWasmAbi for ID
impl VectorIntoWasmAbi for ID
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[ID]>) -> <ID as VectorIntoWasmAbi>::Abi
impl Copy for ID
impl Eq for ID
impl StructuralPartialEq for ID
Auto Trait Implementations§
impl Freeze for ID
impl RefUnwindSafe for ID
impl Send for ID
impl Sync for ID
impl Unpin for ID
impl UnwindSafe for ID
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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.