Type Alias bones_framework::asset::prelude::AssetPackId
source · pub type AssetPackId = LabeledId;
Expand description
The unique ID for an asset pack.
Asset pack IDs are made up of a human-readable label, and a unique identifier. For example:
awesome-pack_01h502c309fddv1vq1gwa918e8
These IDs can be generated with the TypeID gen utility.
Aliased Type§
struct AssetPackId { /* private fields */ }
Implementations
Trait Implementations
source§impl<'de> Deserialize<'de> for LabeledId
impl<'de> Deserialize<'de> for LabeledId
source§fn deserialize<D>(
deserializer: D,
) -> Result<LabeledId, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<LabeledId, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for LabeledId
impl Ord for LabeledId
source§impl PartialEq for LabeledId
impl PartialEq for LabeledId
source§impl PartialOrd for LabeledId
impl PartialOrd for LabeledId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for LabeledId
impl Serialize for LabeledId
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