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