pub struct GroupingSets { /* private fields */ }
Implementations§
Source§impl GroupingSets
impl GroupingSets
pub fn expr(&self) -> Option<Expr>
pub fn l_paren_token(&self) -> Option<SyntaxToken>
pub fn r_paren_token(&self) -> Option<SyntaxToken>
pub fn grouping_token(&self) -> Option<SyntaxToken>
pub fn sets_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for GroupingSets
impl AstNode for GroupingSets
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Source§impl Clone for GroupingSets
impl Clone for GroupingSets
Source§fn clone(&self) -> GroupingSets
fn clone(&self) -> GroupingSets
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 GroupingSets
impl Debug for GroupingSets
Source§impl Hash for GroupingSets
impl Hash for GroupingSets
Source§impl PartialEq for GroupingSets
impl PartialEq for GroupingSets
impl Eq for GroupingSets
impl StructuralPartialEq for GroupingSets
Auto Trait Implementations§
impl Freeze for GroupingSets
impl !RefUnwindSafe for GroupingSets
impl !Send for GroupingSets
impl !Sync for GroupingSets
impl Unpin for GroupingSets
impl !UnwindSafe for GroupingSets
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