pub struct MethodTypeNode<'a> { /* private fields */ }Implementations§
Source§impl<'a> MethodTypeNode<'a>
impl<'a> MethodTypeNode<'a>
Sourcepub fn location(&self) -> RBSLocationRange
pub fn location(&self) -> RBSLocationRange
Returns the location of this node.
Sourcepub fn type_location(&self) -> RBSLocationRange
pub fn type_location(&self) -> RBSLocationRange
Returns the type 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 type_params(&self) -> NodeList<'a>
pub fn type_(&self) -> Node<'a>
pub fn block(&self) -> Option<BlockTypeNode<'a>>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for MethodTypeNode<'a>
impl<'a> RefUnwindSafe for MethodTypeNode<'a>
impl<'a> !Send for MethodTypeNode<'a>
impl<'a> !Sync for MethodTypeNode<'a>
impl<'a> Unpin for MethodTypeNode<'a>
impl<'a> UnsafeUnpin for MethodTypeNode<'a>
impl<'a> !UnwindSafe for MethodTypeNode<'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