pub struct AssetMgrAccount {Show 14 fields
pub name: String,
pub size: f32,
pub used_size: f32,
pub unused_size: f32,
pub used: Vec<AssetInfo>,
pub unused: Vec<AssetInfo>,
pub min_capacity: f32,
pub weight: usize,
pub weight_capacity: f32,
pub capacity: f32,
pub ty: u32,
pub visit_count: usize,
pub hit_rate: f32,
pub timeout: usize,
}Expand description
每资产管理器信息
Fields§
§name: String§size: f32§used_size: f32§unused_size: f32§used: Vec<AssetInfo>§unused: Vec<AssetInfo>§min_capacity: f32§weight: usize§weight_capacity: f32§capacity: f32§ty: u32§visit_count: usize§hit_rate: f32§timeout: usizeTrait Implementations§
Source§impl Clone for AssetMgrAccount
impl Clone for AssetMgrAccount
Source§fn clone(&self) -> AssetMgrAccount
fn clone(&self) -> AssetMgrAccount
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 moreSource§impl Debug for AssetMgrAccount
impl Debug for AssetMgrAccount
Source§impl Default for AssetMgrAccount
impl Default for AssetMgrAccount
Source§fn default() -> AssetMgrAccount
fn default() -> AssetMgrAccount
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AssetMgrAccount
impl<'de> Deserialize<'de> for AssetMgrAccount
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 Freeze for AssetMgrAccount
impl RefUnwindSafe for AssetMgrAccount
impl Send for AssetMgrAccount
impl Sync for AssetMgrAccount
impl Unpin for AssetMgrAccount
impl UnwindSafe for AssetMgrAccount
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