pub struct OperatorCall { /* private fields */ }
Implementations§
Source§impl OperatorCall
impl OperatorCall
pub fn op(&self) -> Option<Op>
pub fn path(&self) -> Option<Path>
pub fn l_paren_token(&self) -> Option<SyntaxToken>
pub fn r_paren_token(&self) -> Option<SyntaxToken>
pub fn dot_token(&self) -> Option<SyntaxToken>
pub fn operator_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for OperatorCall
impl AstNode for OperatorCall
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 OperatorCall
impl Clone for OperatorCall
Source§fn clone(&self) -> OperatorCall
fn clone(&self) -> OperatorCall
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 OperatorCall
impl Debug for OperatorCall
Source§impl Hash for OperatorCall
impl Hash for OperatorCall
Source§impl PartialEq for OperatorCall
impl PartialEq for OperatorCall
impl Eq for OperatorCall
impl StructuralPartialEq for OperatorCall
Auto Trait Implementations§
impl Freeze for OperatorCall
impl !RefUnwindSafe for OperatorCall
impl !Send for OperatorCall
impl !Sync for OperatorCall
impl Unpin for OperatorCall
impl !UnwindSafe for OperatorCall
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