pub struct VertexGraphMetadata<I>where
I: VertexId,{ /* private fields */ }
Implementations§
Source§impl<I: VertexId> VertexGraphMetadata<I>
impl<I: VertexId> VertexGraphMetadata<I>
Sourcepub fn set<'a, 'b>(
&mut self,
key: impl Into<Cow<'a, str>>,
value: impl Into<MetadataValue<'b>>,
)
pub fn set<'a, 'b>( &mut self, key: impl Into<Cow<'a, str>>, value: impl Into<MetadataValue<'b>>, )
Set the value of the metadata field at key
or insert a new one if not
present.
pub fn set_and_track<'a, 'b>( &mut self, key: impl Into<Cow<'a, str>>, value: impl Into<MetadataValue<'b>>, )
pub fn remove_and_track(&mut self, key: &str)
Trait Implementations§
Auto Trait Implementations§
impl<I> Freeze for VertexGraphMetadata<I>where
I: Freeze,
impl<I> !RefUnwindSafe for VertexGraphMetadata<I>
impl<I> Send for VertexGraphMetadata<I>where
I: Send,
impl<I> Sync for VertexGraphMetadata<I>where
I: Sync,
impl<I> Unpin for VertexGraphMetadata<I>where
I: Unpin,
impl<I> !UnwindSafe for VertexGraphMetadata<I>
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