pub struct EntityCacheConfig {
pub max_entities_per_view: usize,
pub max_array_length: usize,
}Expand description
Configuration for the entity cache
Fields§
§max_entities_per_view: usizeMaximum number of entities to cache per view
max_array_length: usizeMaximum array length before oldest elements are evicted
Trait Implementations§
Source§impl Clone for EntityCacheConfig
impl Clone for EntityCacheConfig
Source§fn clone(&self) -> EntityCacheConfig
fn clone(&self) -> EntityCacheConfig
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 EntityCacheConfig
impl Debug for EntityCacheConfig
Auto Trait Implementations§
impl Freeze for EntityCacheConfig
impl RefUnwindSafe for EntityCacheConfig
impl Send for EntityCacheConfig
impl Sync for EntityCacheConfig
impl Unpin for EntityCacheConfig
impl UnwindSafe for EntityCacheConfig
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