pub struct NodeFields<'a> { /* private fields */ }Expand description
Compact reflected field collection for one AST node.
Returned by AnyParsedStatement::extract_fields
and indexable via fields[idx].
Implementations§
Trait Implementations§
Source§impl Debug for NodeFields<'_>
impl Debug for NodeFields<'_>
Source§impl<'a> Index<usize> for NodeFields<'a>
impl<'a> Index<usize> for NodeFields<'a>
Source§type Output = FieldValue<'a>
type Output = FieldValue<'a>
The returned type after indexing.
Auto Trait Implementations§
impl<'a> Freeze for NodeFields<'a>
impl<'a> RefUnwindSafe for NodeFields<'a>
impl<'a> Send for NodeFields<'a>
impl<'a> Sync for NodeFields<'a>
impl<'a> Unpin for NodeFields<'a>
impl<'a> UnsafeUnpin for NodeFields<'a>
impl<'a> UnwindSafe for NodeFields<'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