Struct unitypkg_core::PackageAsset
source · pub struct PackageAsset {
pub pathname: String,
pub preview: Option<Vec<u8>>,
pub meta: Option<Vec<u8>>,
pub data: Option<Vec<u8>>,
}Fields§
§pathname: String§preview: Option<Vec<u8>>§meta: Option<Vec<u8>>§data: Option<Vec<u8>>Implementations§
Trait Implementations§
source§impl Clone for PackageAsset
impl Clone for PackageAsset
source§fn clone(&self) -> PackageAsset
fn clone(&self) -> PackageAsset
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 PackageAsset
impl Debug for PackageAsset
source§impl PartialEq for PackageAsset
impl PartialEq for PackageAsset
source§fn eq(&self, other: &PackageAsset) -> bool
fn eq(&self, other: &PackageAsset) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PackageAsset
Auto Trait Implementations§
impl Freeze for PackageAsset
impl RefUnwindSafe for PackageAsset
impl Send for PackageAsset
impl Sync for PackageAsset
impl Unpin for PackageAsset
impl UnwindSafe for PackageAsset
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)