Struct bones_asset::AssetPackReq
source · pub struct AssetPackReq {
pub id: LabeledId,
pub version: VersionReq,
}
Expand description
A requirement specifier for an asset pack, made up of the asset pack’s LabeledId
and it’s
VersionReq
.
Fields§
§id: LabeledId
The asset pack ID.
version: VersionReq
The version of the asset pack.
Trait Implementations§
source§impl Clone for AssetPackReq
impl Clone for AssetPackReq
source§fn clone(&self) -> AssetPackReq
fn clone(&self) -> AssetPackReq
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 AssetPackReq
impl Debug for AssetPackReq
Auto Trait Implementations§
impl Freeze for AssetPackReq
impl RefUnwindSafe for AssetPackReq
impl Send for AssetPackReq
impl Sync for AssetPackReq
impl Unpin for AssetPackReq
impl UnwindSafe for AssetPackReq
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
)