pub struct OrderingTerm<'a> { /* private fields */ }Implementations§
Source§impl<'a> OrderingTerm<'a>
impl<'a> OrderingTerm<'a>
Sourcepub fn node_id(&self) -> OrderingTermId
pub fn node_id(&self) -> OrderingTermId
The typed node ID of this node.
pub fn expr(&self) -> Option<Expr<'a>>
pub fn sort_order(&self) -> SortOrder
pub fn nulls_order(&self) -> NullsOrder
Trait Implementations§
Source§impl<'a> Clone for OrderingTerm<'a>
impl<'a> Clone for OrderingTerm<'a>
Source§fn clone(&self) -> OrderingTerm<'a>
fn clone(&self) -> OrderingTerm<'a>
Returns a duplicate 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 OrderingTerm<'_>
impl Debug for OrderingTerm<'_>
Source§impl Display for OrderingTerm<'_>
impl Display for OrderingTerm<'_>
Source§impl<'a> From<OrderingTerm<'a>> for OrderingTermId
impl<'a> From<OrderingTerm<'a>> for OrderingTermId
Source§fn from(n: OrderingTerm<'a>) -> Self
fn from(n: OrderingTerm<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> GrammarNodeType<'a> for OrderingTerm<'a>
impl<'a> GrammarNodeType<'a> for OrderingTerm<'a>
Source§fn from_result(
stmt_result: &'a AnyParsedStatement<'a>,
id: AnyNodeId,
) -> Option<Self>
fn from_result( stmt_result: &'a AnyParsedStatement<'a>, id: AnyNodeId, ) -> Option<Self>
Resolve
id to Self, or None if null, invalid, or tag mismatch.impl<'a> Copy for OrderingTerm<'a>
Auto Trait Implementations§
impl<'a> Freeze for OrderingTerm<'a>
impl<'a> !RefUnwindSafe for OrderingTerm<'a>
impl<'a> !Send for OrderingTerm<'a>
impl<'a> !Sync for OrderingTerm<'a>
impl<'a> Unpin for OrderingTerm<'a>
impl<'a> UnsafeUnpin for OrderingTerm<'a>
impl<'a> !UnwindSafe for OrderingTerm<'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