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