pub struct AssetTypeId(pub [u8; 16]);
Expand description
UUID of an asset’s Rust type. Produced by TypeUuidDynamic::uuid
.
If using a human-readable format, serializes to a hyphenated UUID format and deserializes from
any format supported by the uuid
crate. Otherwise, serializes to and from a [u8; 16]
.
Tuple Fields§
§0: [u8; 16]
Trait Implementations§
Source§impl AsMut<[u8]> for AssetTypeId
impl AsMut<[u8]> for AssetTypeId
Source§impl AsRef<[u8]> for AssetTypeId
impl AsRef<[u8]> for AssetTypeId
Source§impl Clone for AssetTypeId
impl Clone for AssetTypeId
Source§fn clone(&self) -> AssetTypeId
fn clone(&self) -> AssetTypeId
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 AssetTypeId
impl Debug for AssetTypeId
Source§impl Default for AssetTypeId
impl Default for AssetTypeId
Source§fn default() -> AssetTypeId
fn default() -> AssetTypeId
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AssetTypeId
impl<'de> Deserialize<'de> for AssetTypeId
Source§fn deserialize<D>(
deserializer: D,
) -> Result<AssetTypeId, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<AssetTypeId, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for AssetTypeId
impl Display for AssetTypeId
Source§impl Hash for AssetTypeId
impl Hash for AssetTypeId
Source§impl PartialEq for AssetTypeId
impl PartialEq for AssetTypeId
Source§impl Serialize for AssetTypeId
impl Serialize for AssetTypeId
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
impl Copy for AssetTypeId
impl Eq for AssetTypeId
impl StructuralPartialEq for AssetTypeId
Auto Trait Implementations§
impl Freeze for AssetTypeId
impl RefUnwindSafe for AssetTypeId
impl Send for AssetTypeId
impl Sync for AssetTypeId
impl Unpin for AssetTypeId
impl UnwindSafe for AssetTypeId
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