pub struct MetadataElementsMap(/* private fields */);
Implementations§
Source§impl MetadataElementsMap
impl MetadataElementsMap
pub fn new() -> Self
pub fn add(&mut self, key: MetadataElement, content: MetadataElement)
pub fn iter(&self) -> impl Iterator<Item = &(MetadataElement, MetadataElement)>
Trait Implementations§
Source§impl Clone for MetadataElementsMap
impl Clone for MetadataElementsMap
Source§fn clone(&self) -> MetadataElementsMap
fn clone(&self) -> MetadataElementsMap
Returns a duplicate 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 moreSource§impl Debug for MetadataElementsMap
impl Debug for MetadataElementsMap
Source§impl Decode for MetadataElementsMap
impl Decode for MetadataElementsMap
Source§impl From<BTreeMap<MetadataElement, MetadataElement>> for MetadataElementsMap
impl From<BTreeMap<MetadataElement, MetadataElement>> for MetadataElementsMap
Source§fn from(v: BTreeMap<MetadataElement, MetadataElement>) -> Self
fn from(v: BTreeMap<MetadataElement, MetadataElement>) -> Self
Converts to this type from the input type.
Source§impl From<Vec<(MetadataElement, MetadataElement)>> for MetadataElementsMap
impl From<Vec<(MetadataElement, MetadataElement)>> for MetadataElementsMap
Source§fn from(v: Vec<(MetadataElement, MetadataElement)>) -> Self
fn from(v: Vec<(MetadataElement, MetadataElement)>) -> Self
Converts to this type from the input type.
Source§impl Ord for MetadataElementsMap
impl Ord for MetadataElementsMap
Source§fn cmp(&self, other: &MetadataElementsMap) -> Ordering
fn cmp(&self, other: &MetadataElementsMap) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MetadataElementsMap
impl PartialEq for MetadataElementsMap
Source§impl PartialOrd for MetadataElementsMap
impl PartialOrd for MetadataElementsMap
impl Eq for MetadataElementsMap
impl StructuralPartialEq for MetadataElementsMap
Auto Trait Implementations§
impl Freeze for MetadataElementsMap
impl RefUnwindSafe for MetadataElementsMap
impl Send for MetadataElementsMap
impl Sync for MetadataElementsMap
impl Unpin for MetadataElementsMap
impl UnwindSafe for MetadataElementsMap
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