pub struct MappingItem<'a> {
pub span: Span,
pub key: MappingKey<'a>,
pub value: MappingValue<'a>,
}Expand description
One key: value pair in a block mapping.
Fields§
§span: Span§key: MappingKey<'a>§value: MappingValue<'a>Trait 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