pub struct DownloadedAsset {
pub content: Vec<u8>,
}Expand description
Represents an asset that has been downloaded into memory.
Fields§
§content: Vec<u8>The raw byte content of the asset.
Implementations§
Trait Implementations§
Source§impl Clone for DownloadedAsset
impl Clone for DownloadedAsset
Source§fn clone(&self) -> DownloadedAsset
fn clone(&self) -> DownloadedAsset
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 moreAuto Trait Implementations§
impl Freeze for DownloadedAsset
impl RefUnwindSafe for DownloadedAsset
impl Send for DownloadedAsset
impl Sync for DownloadedAsset
impl Unpin for DownloadedAsset
impl UnwindSafe for DownloadedAsset
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