pub struct AttrWriterNode<'a> { /* private fields */ }Implementations§
Source§impl<'a> AttrWriterNode<'a>
impl<'a> AttrWriterNode<'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 colon_location(&self) -> RBSLocationRange
pub fn colon_location(&self) -> RBSLocationRange
Returns the colon sub-location of this node.
Sourcepub fn kind_location(&self) -> Option<RBSLocationRange>
pub fn kind_location(&self) -> Option<RBSLocationRange>
Returns the kind sub-location of this node if present.
Sourcepub fn ivar_location(&self) -> Option<RBSLocationRange>
pub fn ivar_location(&self) -> Option<RBSLocationRange>
Returns the ivar sub-location of this node if present.
Sourcepub fn ivar_name_location(&self) -> Option<RBSLocationRange>
pub fn ivar_name_location(&self) -> Option<RBSLocationRange>
Returns the ivar_name sub-location of this node if present.
Sourcepub fn visibility_location(&self) -> Option<RBSLocationRange>
pub fn visibility_location(&self) -> Option<RBSLocationRange>
Returns the visibility sub-location of this node if present.
pub fn name(&self) -> SymbolNode<'a>
pub fn type_(&self) -> Node<'a>
pub fn ivar_name(&self) -> AttrIvarName
pub fn kind(&self) -> AttributeKind
pub fn annotations(&self) -> NodeList<'a>
pub fn comment(&self) -> Option<CommentNode<'a>>
pub fn visibility(&self) -> AttributeVisibility
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for AttrWriterNode<'a>
impl<'a> RefUnwindSafe for AttrWriterNode<'a>
impl<'a> !Send for AttrWriterNode<'a>
impl<'a> !Sync for AttrWriterNode<'a>
impl<'a> Unpin for AttrWriterNode<'a>
impl<'a> UnsafeUnpin for AttrWriterNode<'a>
impl<'a> !UnwindSafe for AttrWriterNode<'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