//! Traits for allowing customised behaviours for ARCache
/// A trait that allows custom weighting of items in the arc.
pubtraitArcWeight{/// Return the weight of this item. This value MAY be dynamic
/// as the cache copies this for it's internal tracking purposes
fnarc_weight(&self)->usize;}impl<T> ArcWeight forT{#[inline]
default fnarc_weight(&self)->usize{1}}