pub struct EntityId { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EntityId
impl<'de> Deserialize<'de> for EntityId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromWasmAbi for EntityId
impl FromWasmAbi for EntityId
Source§impl IntoWasmAbi for EntityId
impl IntoWasmAbi for EntityId
Source§impl LongRefFromWasmAbi for EntityId
impl LongRefFromWasmAbi for EntityId
Source§impl OptionFromWasmAbi for EntityId
impl OptionFromWasmAbi for EntityId
Source§impl OptionIntoWasmAbi for EntityId
impl OptionIntoWasmAbi for EntityId
Source§impl RefFromWasmAbi for EntityId
impl RefFromWasmAbi for EntityId
Source§impl RefMutFromWasmAbi for EntityId
impl RefMutFromWasmAbi for EntityId
Source§impl TryFromJsValue for EntityId
impl TryFromJsValue for EntityId
Source§impl VectorFromWasmAbi for EntityId
impl VectorFromWasmAbi for EntityId
Source§impl VectorIntoWasmAbi for EntityId
impl VectorIntoWasmAbi for EntityId
impl Copy for EntityId
impl Eq for EntityId
impl StructuralPartialEq for EntityId
impl SupportsConstructor for EntityId
impl SupportsInstanceProperty for EntityId
impl SupportsStaticProperty for EntityId
Auto Trait Implementations§
impl Freeze for EntityId
impl RefUnwindSafe for EntityId
impl Send for EntityId
impl Sync for EntityId
impl Unpin for EntityId
impl UnwindSafe for EntityId
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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
.Source§impl<T> Scriptable for T
impl<T> Scriptable for T
fn from_scriptable(data: &Value) -> Result<T, ScriptableError>
fn to_scriptable(&self) -> Result<Value, ScriptableError>
fn from_js(js: JsValue) -> Result<Self, ScriptableError>where
Self: Sized,
fn to_js(&self) -> Result<JsValue, ScriptableError>
Source§impl<T> TryDefault for Twhere
T: Default,
impl<T> TryDefault for Twhere
T: Default,
Source§fn try_default() -> Result<T, String>
fn try_default() -> Result<T, String>
Tries to create the default.
Source§fn unwrap_default() -> Self
fn unwrap_default() -> Self
Calls
try_default
and panics on an error case.