pub enum OnCommit {
DeleteRows,
PreserveRows,
Drop,
}Variants§
Trait Implementations§
Source§impl Ord for OnCommit
impl Ord for OnCommit
Source§impl PartialOrd for OnCommit
impl PartialOrd for OnCommit
Source§impl<'ast> Transformable<'ast> for OnCommit
impl<'ast> Transformable<'ast> for OnCommit
Source§impl Visitable for OnCommit
impl Visitable for OnCommit
Source§fn accept<'ast, V: Visitor<'ast>>(
&'ast self,
visitor: &mut V,
) -> ControlFlow<Break<V::Error>>
fn accept<'ast, V: Visitor<'ast>>( &'ast self, visitor: &mut V, ) -> ControlFlow<Break<V::Error>>
Accepts a borrowed
Visitor and traverses the AST starting at self invoking Visitor::enter and
Visitor::exit as nodes are entered and exiting respectively.Source§fn downcast_ref<Target: Visitable>(&self) -> Option<&Target>
fn downcast_ref<Target: Visitable>(&self) -> Option<&Target>
Tries to downcast
self as &Target.Source§fn downcast_mut<Target: Visitable>(&mut self) -> Option<&mut Target>
fn downcast_mut<Target: Visitable>(&mut self) -> Option<&mut Target>
Tries to downcast
self as &mut Target.impl Copy for OnCommit
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