pub enum Persistence {
Temp(Temp),
Unlogged(Unlogged),
}Variants§
Trait Implementations§
Source§impl AstNode for Persistence
impl AstNode for Persistence
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,
Source§impl Clone for Persistence
impl Clone for Persistence
Source§fn clone(&self) -> Persistence
fn clone(&self) -> Persistence
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Persistence
impl Debug for Persistence
Source§impl From<Temp> for Persistence
impl From<Temp> for Persistence
Source§fn from(node: Temp) -> Persistence
fn from(node: Temp) -> Persistence
Converts to this type from the input type.
Source§impl From<Unlogged> for Persistence
impl From<Unlogged> for Persistence
Source§fn from(node: Unlogged) -> Persistence
fn from(node: Unlogged) -> Persistence
Converts to this type from the input type.
Source§impl Hash for Persistence
impl Hash for Persistence
Source§impl PartialEq for Persistence
impl PartialEq for Persistence
impl Eq for Persistence
impl StructuralPartialEq for Persistence
Auto Trait Implementations§
impl Freeze for Persistence
impl !RefUnwindSafe for Persistence
impl !Send for Persistence
impl !Sync for Persistence
impl Unpin for Persistence
impl UnsafeUnpin for Persistence
impl !UnwindSafe for Persistence
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