pub struct AttributeList { /* private fields */ }
Implementations§
Source§impl AttributeList
impl AttributeList
pub fn attribute_options(&self) -> AstChildren<AttributeOption> ⓘ
pub fn l_paren_token(&self) -> Option<SyntaxToken>
pub fn r_paren_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for AttributeList
impl AstNode for AttributeList
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Source§impl Clone for AttributeList
impl Clone for AttributeList
Source§fn clone(&self) -> AttributeList
fn clone(&self) -> AttributeList
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AttributeList
impl Debug for AttributeList
Source§impl Hash for AttributeList
impl Hash for AttributeList
Source§impl PartialEq for AttributeList
impl PartialEq for AttributeList
impl Eq for AttributeList
impl StructuralPartialEq for AttributeList
Auto Trait Implementations§
impl Freeze for AttributeList
impl !RefUnwindSafe for AttributeList
impl !Send for AttributeList
impl !Sync for AttributeList
impl Unpin for AttributeList
impl !UnwindSafe for AttributeList
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