Struct partiql_ast::ast::AstNode
source · [−]Expand description
Represents an AST node. AstNode uses derive_builder to expose a Builder for creating the node. See ToAstNode for more details on the usage.
Fields
node: T
location: Option<Location<Loc>>
Trait Implementations
impl<T: Eq, Loc: Display> Eq for AstNode<T, Loc>
Auto Trait Implementations
impl<T, Loc> RefUnwindSafe for AstNode<T, Loc> where
Loc: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, Loc> Send for AstNode<T, Loc> where
Loc: Send,
T: Send,
impl<T, Loc> Sync for AstNode<T, Loc> where
Loc: Sync,
T: Sync,
impl<T, Loc> Unpin for AstNode<T, Loc> where
Loc: Unpin,
T: Unpin,
impl<T, Loc> UnwindSafe for AstNode<T, Loc> where
Loc: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more