pub struct Commit { /* private fields */ }
Implementations§
Source§impl Commit
impl Commit
pub fn literal(&self) -> Option<Literal>
pub fn and_token(&self) -> Option<SyntaxToken>
pub fn chain_token(&self) -> Option<SyntaxToken>
pub fn commit_token(&self) -> Option<SyntaxToken>
pub fn no_token(&self) -> Option<SyntaxToken>
pub fn prepared_token(&self) -> Option<SyntaxToken>
pub fn transaction_token(&self) -> Option<SyntaxToken>
pub fn work_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for Commit
impl AstNode for Commit
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 Commit
impl StructuralPartialEq for Commit
Auto Trait Implementations§
impl Freeze for Commit
impl !RefUnwindSafe for Commit
impl !Send for Commit
impl !Sync for Commit
impl Unpin for Commit
impl !UnwindSafe for Commit
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