pub struct ObjectId(/* private fields */);Expand description
Object ID.
Implementations§
Source§impl ObjectId
impl ObjectId
Sourcepub fn to_object_handle(self, doc: &Document) -> Option<ObjectHandle<'_>>
pub fn to_object_handle(self, doc: &Document) -> Option<ObjectHandle<'_>>
Creates a new ObjectHandle.
Sourcepub fn destination_objects(
self,
doc: &Document,
) -> impl Iterator<Item = ConnectedObjectHandle<'_>>
pub fn destination_objects( self, doc: &Document, ) -> impl Iterator<Item = ConnectedObjectHandle<'_>>
Returns an iterator of destination objects and connection labels.
Sourcepub fn source_objects(
self,
doc: &Document,
) -> impl Iterator<Item = ConnectedObjectHandle<'_>>
pub fn source_objects( self, doc: &Document, ) -> impl Iterator<Item = ConnectedObjectHandle<'_>>
Returns an iterator of source objects and connection labels.
Trait Implementations§
Source§impl Ord for ObjectId
impl Ord for ObjectId
Source§impl PartialOrd for ObjectId
impl PartialOrd for ObjectId
impl Copy for ObjectId
impl Eq for ObjectId
impl StructuralPartialEq for ObjectId
Auto Trait Implementations§
impl Freeze for ObjectId
impl RefUnwindSafe for ObjectId
impl Send for ObjectId
impl Sync for ObjectId
impl Unpin for ObjectId
impl UnwindSafe for ObjectId
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