pub struct ReadonlyProperties<'a> { /* private fields */ }Implementations§
Source§impl<'a> ReadonlyProperties<'a>
impl<'a> ReadonlyProperties<'a>
pub fn new() -> Self
pub fn get(&self, key: &str) -> Option<&ReadonlyPropertyDocument<'a>>
pub fn iter( &'a self, ) -> impl Iterator<Item = (&'a str, &'a ReadonlyPropertyDocument<'a>)> + 'a
pub fn into_iter( self, ) -> impl Iterator<Item = (&'a str, ReadonlyPropertyDocument<'a>)>
Trait Implementations§
Source§impl<'a> Clone for ReadonlyProperties<'a>
impl<'a> Clone for ReadonlyProperties<'a>
Source§fn clone(&self) -> ReadonlyProperties<'a>
fn clone(&self) -> ReadonlyProperties<'a>
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<'a> Display for ReadonlyProperties<'a>
impl<'a> Display for ReadonlyProperties<'a>
Source§impl From<ReadonlyProperties<'_>> for Properties
impl From<ReadonlyProperties<'_>> for Properties
Source§fn from(readonly_properties: ReadonlyProperties<'_>) -> Self
fn from(readonly_properties: ReadonlyProperties<'_>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for ReadonlyProperties<'a>
impl<'a> RefUnwindSafe for ReadonlyProperties<'a>
impl<'a> Send for ReadonlyProperties<'a>
impl<'a> Sync for ReadonlyProperties<'a>
impl<'a> Unpin for ReadonlyProperties<'a>
impl<'a> UnwindSafe for ReadonlyProperties<'a>
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