Struct ambient_asset_cache::AssetTimeline
source · pub struct AssetTimeline {
pub long_name: String,
pub stack: Vec<AssetKey>,
pub cpu_size: Option<u64>,
pub gpu_size: Option<u64>,
pub lifetimes: Vec<AssetLifetime>,
pub is_alive: bool,
}
Fields§
§long_name: String
§stack: Vec<AssetKey>
§cpu_size: Option<u64>
§gpu_size: Option<u64>
§lifetimes: Vec<AssetLifetime>
§is_alive: bool
Implementations§
source§impl AssetTimeline
impl AssetTimeline
pub fn is_loading(&self) -> bool
pub fn is_aborted(&self) -> bool
Trait Implementations§
source§impl Clone for AssetTimeline
impl Clone for AssetTimeline
source§fn clone(&self) -> AssetTimeline
fn clone(&self) -> AssetTimeline
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 AssetTimeline
impl Debug for AssetTimeline
source§impl Default for AssetTimeline
impl Default for AssetTimeline
source§fn default() -> AssetTimeline
fn default() -> AssetTimeline
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AssetTimeline
impl<'de> Deserialize<'de> for AssetTimeline
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for AssetTimeline
impl Send for AssetTimeline
impl Sync for AssetTimeline
impl Unpin for AssetTimeline
impl UnwindSafe for AssetTimeline
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