pub struct FunctionTypeNode<'a> { /* private fields */ }Implementations§
Source§impl<'a> FunctionTypeNode<'a>
impl<'a> FunctionTypeNode<'a>
Sourcepub fn location(&self) -> RBSLocationRange
pub fn location(&self) -> RBSLocationRange
Returns the location of this node.
pub fn required_positionals(&self) -> NodeList<'a>
pub fn optional_positionals(&self) -> NodeList<'a>
pub fn rest_positionals(&self) -> Option<Node<'a>>
pub fn trailing_positionals(&self) -> NodeList<'a>
pub fn required_keywords(&self) -> RBSHash<'a>
pub fn optional_keywords(&self) -> RBSHash<'a>
pub fn rest_keywords(&self) -> Option<Node<'a>>
pub fn return_type(&self) -> Node<'a>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for FunctionTypeNode<'a>
impl<'a> RefUnwindSafe for FunctionTypeNode<'a>
impl<'a> !Send for FunctionTypeNode<'a>
impl<'a> !Sync for FunctionTypeNode<'a>
impl<'a> Unpin for FunctionTypeNode<'a>
impl<'a> UnsafeUnpin for FunctionTypeNode<'a>
impl<'a> !UnwindSafe for FunctionTypeNode<'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