Struct yrs::SubdocsEvent
source · pub struct SubdocsEvent { /* private fields */ }
Expand description
Event used to communicate load requests from the underlying subdocuments.
Implementations§
source§impl SubdocsEvent
impl SubdocsEvent
sourcepub fn added(&self) -> SubdocsEventIter<'_> ⓘ
pub fn added(&self) -> SubdocsEventIter<'_> ⓘ
Returns an iterator over all sub-documents added to a current document within a scope of committed transaction.
sourcepub fn removed(&self) -> SubdocsEventIter<'_> ⓘ
pub fn removed(&self) -> SubdocsEventIter<'_> ⓘ
Returns an iterator over all sub-documents removed from a current document within a scope of committed transaction.
sourcepub fn loaded(&self) -> SubdocsEventIter<'_> ⓘ
pub fn loaded(&self) -> SubdocsEventIter<'_> ⓘ
Returns an iterator over all sub-documents living in a parent document, that have requested to be loaded within a scope of committed transaction.
Trait Implementations§
source§impl Clone for SubdocsEvent
impl Clone for SubdocsEvent
source§fn clone(&self) -> SubdocsEvent
fn clone(&self) -> SubdocsEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for SubdocsEvent
impl !RefUnwindSafe for SubdocsEvent
impl Send for SubdocsEvent
impl Sync for SubdocsEvent
impl Unpin for SubdocsEvent
impl !UnwindSafe for SubdocsEvent
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)