pub struct ModuleAliasNode<'a> { /* private fields */ }Implementations§
Source§impl<'a> ModuleAliasNode<'a>
impl<'a> ModuleAliasNode<'a>
Sourcepub fn location(&self) -> RBSLocationRange
pub fn location(&self) -> RBSLocationRange
Returns the location of this node.
Sourcepub fn keyword_location(&self) -> RBSLocationRange
pub fn keyword_location(&self) -> RBSLocationRange
Returns the keyword sub-location of this node.
Sourcepub fn new_name_location(&self) -> RBSLocationRange
pub fn new_name_location(&self) -> RBSLocationRange
Returns the new_name sub-location of this node.
Sourcepub fn eq_location(&self) -> RBSLocationRange
pub fn eq_location(&self) -> RBSLocationRange
Returns the eq sub-location of this node.
Sourcepub fn old_name_location(&self) -> RBSLocationRange
pub fn old_name_location(&self) -> RBSLocationRange
Returns the old_name sub-location of this node.
pub fn new_name(&self) -> TypeNameNode<'a>
pub fn old_name(&self) -> TypeNameNode<'a>
pub fn comment(&self) -> Option<CommentNode<'a>>
pub fn annotations(&self) -> NodeList<'a>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ModuleAliasNode<'a>
impl<'a> RefUnwindSafe for ModuleAliasNode<'a>
impl<'a> !Send for ModuleAliasNode<'a>
impl<'a> !Sync for ModuleAliasNode<'a>
impl<'a> Unpin for ModuleAliasNode<'a>
impl<'a> UnsafeUnpin for ModuleAliasNode<'a>
impl<'a> !UnwindSafe for ModuleAliasNode<'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