pub struct RxCacheSize;Expand description
The sizes of the caches of ReactiveUI (RxCacheSize): the memoizing caches of view location
and of the observation of properties.
Deviation (DEVIATIONS.md, ReactiveUI): the limits are per thread, as the caches that read them are.
Implementations§
Source§impl RxCacheSize
impl RxCacheSize
Sourcepub fn small_cache_limit() -> usize
pub fn small_cache_limit() -> usize
The limit of the small caches (SmallCacheLimit).
Sourcepub fn big_cache_limit() -> usize
pub fn big_cache_limit() -> usize
The limit of the big caches (BigCacheLimit).
Sourcepub fn initialize(small_cache_limit: usize, big_cache_limit: usize)
pub fn initialize(small_cache_limit: usize, big_cache_limit: usize)
Sets the limits unless they were set or read before (Initialize); the builder of the
application calls it.
Auto Trait Implementations§
impl Freeze for RxCacheSize
impl RefUnwindSafe for RxCacheSize
impl Send for RxCacheSize
impl Sync for RxCacheSize
impl Unpin for RxCacheSize
impl UnsafeUnpin for RxCacheSize
impl UnwindSafe for RxCacheSize
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