pub struct NameMap<I, V = String> {
pub items: Vec<NameAssoc<I, V>>,
}
Expand description
Fields§
§items: Vec<NameAssoc<I, V>>
Trait Implementations§
source§impl<I: PartialEq, V: PartialEq> PartialEq for NameMap<I, V>
impl<I: PartialEq, V: PartialEq> PartialEq for NameMap<I, V>
source§impl<I, V> Visit for NameMap<I, V>
impl<I, V> Visit for NameMap<I, V>
source§fn visit_children<'a, VisitT: 'static, VisitE, VisitF: FnMut(&'a VisitT) -> Result<(), VisitE>>(
&'a self,
f: &mut VisitF
) -> Result<(), VisitError<VisitE>>
fn visit_children<'a, VisitT: 'static, VisitE, VisitF: FnMut(&'a VisitT) -> Result<(), VisitE>>( &'a self, f: &mut VisitF ) -> Result<(), VisitError<VisitE>>
Traverse the children of this value with the provided callback.
source§fn visit_children_mut<VisitT: 'static, VisitE, VisitF: FnMut(&mut VisitT) -> Result<(), VisitE>>(
&mut self,
f: &mut VisitF
) -> Result<(), VisitError<VisitE>>
fn visit_children_mut<VisitT: 'static, VisitE, VisitF: FnMut(&mut VisitT) -> Result<(), VisitE>>( &mut self, f: &mut VisitF ) -> Result<(), VisitError<VisitE>>
Traverse the children of this value mutably with the provided callback.
source§fn visit<'a, T: 'static, R: VisitResult, F: FnMut(&'a T) -> R>(
&'a self,
f: F
) -> Result<(), VisitError<R::Error>>
fn visit<'a, T: 'static, R: VisitResult, F: FnMut(&'a T) -> R>( &'a self, f: F ) -> Result<(), VisitError<R::Error>>
Traverse this value with the provided callback.
source§fn visit_mut<T: 'static, R: VisitResult, F: FnMut(&mut T) -> R>(
&mut self,
f: F
) -> Result<(), VisitError<R::Error>>
fn visit_mut<T: 'static, R: VisitResult, F: FnMut(&mut T) -> R>( &mut self, f: F ) -> Result<(), VisitError<R::Error>>
Traverse this value mutably with the provided callback.
impl<I: Eq, V: Eq> Eq for NameMap<I, V>
impl<I, V> StructuralEq for NameMap<I, V>
impl<I, V> StructuralPartialEq for NameMap<I, V>
Auto Trait Implementations§
impl<I, V> RefUnwindSafe for NameMap<I, V>where
I: RefUnwindSafe,
V: RefUnwindSafe,
impl<I, V> Send for NameMap<I, V>
impl<I, V> Sync for NameMap<I, V>
impl<I, V> Unpin for NameMap<I, V>
impl<I, V> UnwindSafe for NameMap<I, V>where
I: UnwindSafe,
V: UnwindSafe,
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