pub struct RowShapeCacheCell { /* private fields */ }Implementations§
Source§impl RowShapeCacheCell
impl RowShapeCacheCell
pub fn new(capacity: usize) -> Self
pub fn get(&self, fingerprint: &RowShapeFingerprint) -> Option<RowShape>
pub fn insert(&self, shape: RowShape)
pub fn contains_key(&self, fingerprint: &RowShapeFingerprint) -> bool
pub fn clear(&self)
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn capacity(&self) -> usize
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for RowShapeCacheCell
impl !RefUnwindSafe for RowShapeCacheCell
impl !Sync for RowShapeCacheCell
impl Send for RowShapeCacheCell
impl Unpin for RowShapeCacheCell
impl UnsafeUnpin for RowShapeCacheCell
impl UnwindSafe for RowShapeCacheCell
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