pub struct CodegenContext {
pub concurrent_mode: bool,
}Expand description
Configuration for the code generator.
Fields§
§concurrent_mode: boolWhether we’re in BEGIN CONCURRENT mode.
When true, OP_NewRowid uses the snapshot-independent allocator.
Trait Implementations§
Source§impl Clone for CodegenContext
impl Clone for CodegenContext
Source§fn clone(&self) -> CodegenContext
fn clone(&self) -> CodegenContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CodegenContext
impl Debug for CodegenContext
Source§impl Default for CodegenContext
impl Default for CodegenContext
Source§fn default() -> CodegenContext
fn default() -> CodegenContext
Returns the “default value” for a type. Read more
impl Eq for CodegenContext
Source§impl PartialEq for CodegenContext
impl PartialEq for CodegenContext
Source§fn eq(&self, other: &CodegenContext) -> bool
fn eq(&self, other: &CodegenContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CodegenContext
Auto Trait Implementations§
impl Freeze for CodegenContext
impl RefUnwindSafe for CodegenContext
impl Send for CodegenContext
impl Sync for CodegenContext
impl Unpin for CodegenContext
impl UnsafeUnpin for CodegenContext
impl UnwindSafe for CodegenContext
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.