pub struct DictEntry {
pub key: Box<Expr>,
pub value: Box<Expr>,
pub span: Option<Span>,
}Expand description
One key/value pair in an OPY dictionary.
Fields§
§key: Box<Expr>§value: Box<Expr>§span: Option<Span>Trait Implementations§
Source§impl<'de> Deserialize<'de> for DictEntry
impl<'de> Deserialize<'de> for DictEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for DictEntry
Auto Trait Implementations§
impl Freeze for DictEntry
impl RefUnwindSafe for DictEntry
impl Send for DictEntry
impl Sync for DictEntry
impl Unpin for DictEntry
impl UnsafeUnpin for DictEntry
impl UnwindSafe for DictEntry
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