pub struct MappingItem<'a> {
pub key: MappingKey<'a>,
pub value: MappingValue<'a>,
pub span: Span,
}Expand description
One key: value pair in a block mapping.
Fields§
§key: MappingKey<'a>§value: MappingValue<'a>§span: SpanTrait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for MappingItem<'a>
impl<'a> !Send for MappingItem<'a>
impl<'a> !Sync for MappingItem<'a>
impl<'a> !UnwindSafe for MappingItem<'a>
impl<'a> Freeze for MappingItem<'a>
impl<'a> Unpin for MappingItem<'a>
impl<'a> UnsafeUnpin for MappingItem<'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