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