pub struct Entry {
pub key: String,
pub key_span: Option<Span>,
pub value: Node,
}Expand description
One key and value of a map.
Fields§
§key: StringThe key.
key_span: Option<Span>Where the key was read from, its quotes included.
value: NodeThe value.
Trait Implementations§
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl Forget for Entry
impl Freeze for Entrywhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Node>: Freeze,
PhantomData<Entry>: Freeze,
impl Move for Entry
impl RefUnwindSafe for Entry
impl Send for Entrywhere
RawVecInner: Send,
impl Sync for Entrywhere
RawVecInner: Sync,
impl Unpin for Entry
impl UnsafeUnpin for Entrywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Node>: UnsafeUnpin,
PhantomData<Entry>: UnsafeUnpin,
impl UnwindSafe for Entrywhere
RawVecInner: 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