pub struct NodeTypeMapEntry {
pub key: WithMetaData<NodeTypeMapKey>,
pub value: WithMetaData<NodeTypeMapValue>,
}
Expand description
NodeTypeMapEntry represents a type map entry node in the AST
Fields§
§key: WithMetaData<NodeTypeMapKey>
§value: WithMetaData<NodeTypeMapValue>
Trait Implementations§
Source§impl AstVisitor for NodeTypeMapEntry
impl AstVisitor for NodeTypeMapEntry
fn visit( &self, emitter: &mut dyn AstConverting, ) -> Result<TraversalResult, String>
Source§impl Clone for NodeTypeMapEntry
impl Clone for NodeTypeMapEntry
Source§fn clone(&self) -> NodeTypeMapEntry
fn clone(&self) -> NodeTypeMapEntry
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NodeTypeMapEntry
impl Debug for NodeTypeMapEntry
Source§impl PartialEq for NodeTypeMapEntry
impl PartialEq for NodeTypeMapEntry
Source§impl PartialOrd for NodeTypeMapEntry
impl PartialOrd for NodeTypeMapEntry
impl Eq for NodeTypeMapEntry
impl StructuralPartialEq for NodeTypeMapEntry
Auto Trait Implementations§
impl Freeze for NodeTypeMapEntry
impl RefUnwindSafe for NodeTypeMapEntry
impl Send for NodeTypeMapEntry
impl Sync for NodeTypeMapEntry
impl Unpin for NodeTypeMapEntry
impl UnwindSafe for NodeTypeMapEntry
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