pub struct ObjectStore { /* private fields */ }Implementations§
Source§impl ObjectStore
impl ObjectStore
pub fn is_dirty(&self) -> bool
pub fn reset_dirty(&self)
pub fn objects(&self) -> impl Iterator<Item = &Arc<RwLock<Object>>>
pub fn object(&self, id: ObjectId) -> Option<&Arc<RwLock<Object>>>
pub fn insert_object(&mut self, object: Object)
pub fn remove_object(&mut self, id: ObjectId)
pub fn add_from(&mut self, other: &ObjectStore)
Trait Implementations§
Source§impl Debug for ObjectStore
impl Debug for ObjectStore
Source§impl Default for ObjectStore
impl Default for ObjectStore
Source§fn default() -> ObjectStore
fn default() -> ObjectStore
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ObjectStore
impl<'de> Deserialize<'de> for ObjectStore
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ObjectStore
impl RefUnwindSafe for ObjectStore
impl Send for ObjectStore
impl Sync for ObjectStore
impl Unpin for ObjectStore
impl UnsafeUnpin for ObjectStore
impl UnwindSafe for ObjectStore
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