Enum odbc_api::buffers::AnyColumnViewMut
source · [−]pub enum AnyColumnViewMut<'a> {
Show 25 variants
Text(TextColumnWriter<'a, u8>),
WText(TextColumnWriter<'a, u16>),
Binary(BinColumnWriter<'a>),
Date(&'a mut [Date]),
Time(&'a mut [Time]),
Timestamp(&'a mut [Timestamp]),
F64(&'a mut [f64]),
F32(&'a mut [f32]),
I8(&'a mut [i8]),
I16(&'a mut [i16]),
I32(&'a mut [i32]),
I64(&'a mut [i64]),
U8(&'a mut [u8]),
Bit(&'a mut [Bit]),
NullableDate(NullableSliceMut<'a, Date>),
NullableTime(NullableSliceMut<'a, Time>),
NullableTimestamp(NullableSliceMut<'a, Timestamp>),
NullableF64(NullableSliceMut<'a, f64>),
NullableF32(NullableSliceMut<'a, f32>),
NullableI8(NullableSliceMut<'a, i8>),
NullableI16(NullableSliceMut<'a, i16>),
NullableI32(NullableSliceMut<'a, i32>),
NullableI64(NullableSliceMut<'a, i64>),
NullableU8(NullableSliceMut<'a, u8>),
NullableBit(NullableSliceMut<'a, Bit>),
}
Expand description
A mutable borrowed view on the valid rows in a column of a ColumnarBuffer
.
For columns of fixed size types, which are guaranteed to not contain null, a direct access to the slice is offered. Buffers over nullable columns can be accessed via an iterator over options.
Variants
Text(TextColumnWriter<'a, u8>)
Nullable character data in system encoding.
WText(TextColumnWriter<'a, u16>)
Nullable character data encoded in UTF-16.
Binary(BinColumnWriter<'a>)
Date(&'a mut [Date])
Time(&'a mut [Time])
Timestamp(&'a mut [Timestamp])
F64(&'a mut [f64])
F32(&'a mut [f32])
I8(&'a mut [i8])
I16(&'a mut [i16])
I32(&'a mut [i32])
I64(&'a mut [i64])
U8(&'a mut [u8])
Bit(&'a mut [Bit])
NullableDate(NullableSliceMut<'a, Date>)
NullableTime(NullableSliceMut<'a, Time>)
NullableTimestamp(NullableSliceMut<'a, Timestamp>)
NullableF64(NullableSliceMut<'a, f64>)
NullableF32(NullableSliceMut<'a, f32>)
NullableI8(NullableSliceMut<'a, i8>)
NullableI16(NullableSliceMut<'a, i16>)
NullableI32(NullableSliceMut<'a, i32>)
NullableI64(NullableSliceMut<'a, i64>)
NullableU8(NullableSliceMut<'a, u8>)
NullableBit(NullableSliceMut<'a, Bit>)
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for AnyColumnViewMut<'a>
impl<'a> Send for AnyColumnViewMut<'a>
impl<'a> Sync for AnyColumnViewMut<'a>
impl<'a> Unpin for AnyColumnViewMut<'a>
impl<'a> !UnwindSafe for AnyColumnViewMut<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more