pub struct MappingKey<'a> {
pub span: Span,
pub content: Option<Content<'a>>,
pub explicit: bool,
}Fields§
§span: Span§content: Option<Content<'a>>None for a value-less key position (: value with explicit ?, or empty).
explicit: booltrue when written with the explicit ? indicator.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for MappingKey<'a>
impl<'a> !Send for MappingKey<'a>
impl<'a> !Sync for MappingKey<'a>
impl<'a> !UnwindSafe for MappingKey<'a>
impl<'a> Freeze for MappingKey<'a>
impl<'a> Unpin for MappingKey<'a>
impl<'a> UnsafeUnpin for MappingKey<'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