Struct bones_asset::AssetPackSpec
source · pub struct AssetPackSpec {
pub id: AssetPackId,
pub version: Version,
}
Expand description
Specifies an asset pack, and it’s exact version.
Fields§
§id: AssetPackId
The ID of the asset pack.
version: Version
The version of the asset pack.
Trait Implementations§
source§impl Clone for AssetPackSpec
impl Clone for AssetPackSpec
source§fn clone(&self) -> AssetPackSpec
fn clone(&self) -> AssetPackSpec
Returns a copy 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 AssetPackSpec
impl Debug for AssetPackSpec
source§impl Display for AssetPackSpec
impl Display for AssetPackSpec
source§impl Hash for AssetPackSpec
impl Hash for AssetPackSpec
source§impl PartialEq for AssetPackSpec
impl PartialEq for AssetPackSpec
source§fn eq(&self, other: &AssetPackSpec) -> bool
fn eq(&self, other: &AssetPackSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AssetPackSpec
impl StructuralPartialEq for AssetPackSpec
Auto Trait Implementations§
impl Freeze for AssetPackSpec
impl RefUnwindSafe for AssetPackSpec
impl Send for AssetPackSpec
impl Sync for AssetPackSpec
impl Unpin for AssetPackSpec
impl UnwindSafe for AssetPackSpec
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.