pub struct AssetId(/* private fields */);Expand description
64-bit id value. FFI-safe.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AssetId
impl<'de> Deserialize<'de> for AssetId
Source§fn deserialize<D>(deserializer: D) -> Result<AssetId, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<AssetId, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<NonZero<u64>> for AssetId
impl From<NonZero<u64>> for AssetId
Source§fn from(value: NonZeroU64) -> Self
fn from(value: NonZeroU64) -> Self
Converts to this type from the input type.
Source§impl Ord for AssetId
impl Ord for AssetId
Source§impl PartialOrd for AssetId
impl PartialOrd for AssetId
Source§impl TryFrom<u64> for AssetId
impl TryFrom<u64> for AssetId
Source§type Error = ZeroIDError
type Error = ZeroIDError
The type returned in the event of a conversion error.
impl Copy for AssetId
impl Eq for AssetId
impl StructuralPartialEq for AssetId
Auto Trait Implementations§
impl Freeze for AssetId
impl RefUnwindSafe for AssetId
impl Send for AssetId
impl Sync for AssetId
impl Unpin for AssetId
impl UnwindSafe for AssetId
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