pub struct UsingMethod { /* private fields */ }
Implementations§
Source§impl UsingMethod
impl UsingMethod
pub fn name_ref(&self) -> Option<NameRef>
pub fn using_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for UsingMethod
impl AstNode for UsingMethod
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 UsingMethod
impl Clone for UsingMethod
Source§fn clone(&self) -> UsingMethod
fn clone(&self) -> UsingMethod
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 UsingMethod
impl Debug for UsingMethod
Source§impl Hash for UsingMethod
impl Hash for UsingMethod
Source§impl PartialEq for UsingMethod
impl PartialEq for UsingMethod
impl Eq for UsingMethod
impl StructuralPartialEq for UsingMethod
Auto Trait Implementations§
impl Freeze for UsingMethod
impl !RefUnwindSafe for UsingMethod
impl !Send for UsingMethod
impl !Sync for UsingMethod
impl Unpin for UsingMethod
impl !UnwindSafe for UsingMethod
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