pub enum P4 {
None,
Int(i32),
Int64(i64),
Real(f64),
Str(String),
Blob(Vec<u8>),
Collation(String),
FuncName(String),
Table(String),
Index(String),
Affinity(String),
}Expand description
The P4 operand of a VDBE instruction.
P4 is a polymorphic operand that can hold different types depending on the opcode.
Variants§
None
No P4 value.
Int(i32)
A 32-bit integer value.
Int64(i64)
A 64-bit integer value.
Real(f64)
A 64-bit float value.
Str(String)
A string value.
Blob(Vec<u8>)
A blob value.
Collation(String)
A collation sequence name.
FuncName(String)
A function name (for Function/PureFunc opcodes).
Table(String)
A table name.
Index(String)
An index name (for IdxInsert/IdxDelete opcodes).
Affinity(String)
An affinity string (one char per column).
Trait Implementations§
impl StructuralPartialEq for P4
Auto Trait Implementations§
impl Freeze for P4
impl RefUnwindSafe for P4
impl Send for P4
impl Sync for P4
impl Unpin for P4
impl UnsafeUnpin for P4
impl UnwindSafe for P4
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