pub struct TypeAliasNode<'a> { /* private fields */ }Implementations§
Source§impl<'a> TypeAliasNode<'a>
impl<'a> TypeAliasNode<'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 name_location(&self) -> RBSLocationRange
pub fn name_location(&self) -> RBSLocationRange
Returns the 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 type_params_location(&self) -> Option<RBSLocationRange>
pub fn type_params_location(&self) -> Option<RBSLocationRange>
Returns the type_params sub-location of this node if present.
pub fn name(&self) -> TypeNameNode<'a>
pub fn type_params(&self) -> NodeList<'a>
pub fn type_(&self) -> Node<'a>
pub fn annotations(&self) -> NodeList<'a>
pub fn comment(&self) -> Option<CommentNode<'a>>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for TypeAliasNode<'a>
impl<'a> RefUnwindSafe for TypeAliasNode<'a>
impl<'a> !Send for TypeAliasNode<'a>
impl<'a> !Sync for TypeAliasNode<'a>
impl<'a> Unpin for TypeAliasNode<'a>
impl<'a> UnsafeUnpin for TypeAliasNode<'a>
impl<'a> !UnwindSafe for TypeAliasNode<'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