pub struct SetRole { /* private fields */ }
Implementations§
Source§impl SetRole
impl SetRole
pub fn role_token(&self) -> Option<SyntaxToken>
pub fn set_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for SetRole
impl AstNode for SetRole
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,
impl Eq for SetRole
impl StructuralPartialEq for SetRole
Auto Trait Implementations§
impl Freeze for SetRole
impl !RefUnwindSafe for SetRole
impl !Send for SetRole
impl !Sync for SetRole
impl Unpin for SetRole
impl !UnwindSafe for SetRole
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