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