pub struct AtomStore { /* private fields */ }Implementations§
Source§impl AtomStore
impl AtomStore
pub fn new() -> Self
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn get(&self, id: AtomId) -> Option<&ExactValue>
pub fn insert( &mut self, id: AtomId, value: ExactValue, ) -> Result<(), InsertError>
pub fn set(&mut self, id: AtomId, value: ExactValue) -> Result<(), InsertError>
pub fn try_clone(&self) -> Result<Self, InsertError>
Trait Implementations§
impl Eq for AtomStore
impl StructuralPartialEq for AtomStore
Auto Trait Implementations§
impl Freeze for AtomStore
impl RefUnwindSafe for AtomStore
impl Send for AtomStore
impl Sync for AtomStore
impl Unpin for AtomStore
impl UnsafeUnpin for AtomStore
impl UnwindSafe for AtomStore
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