pub struct FlatVector { /* private fields */ }Expand description
A flat vector
Implementations§
Source§impl FlatVector
impl FlatVector
Sourcepub fn row_is_null(&self, row: u64) -> bool
pub fn row_is_null(&self, row: u64) -> bool
Returns true if the row at the given index is null
Sourcepub fn as_mut_ptr<T>(&self) -> *mut T
pub fn as_mut_ptr<T>(&self) -> *mut T
Returns an unsafe mutable pointer to the vector’s
Sourcepub fn as_slice_with_len<T>(&self, len: usize) -> &[T]
pub fn as_slice_with_len<T>(&self, len: usize) -> &[T]
Returns a slice of the vector up to a certain length
Sourcepub fn as_mut_slice<T>(&mut self) -> &mut [T]
pub fn as_mut_slice<T>(&mut self) -> &mut [T]
Returns a mutable slice of the vector
Sourcepub fn as_mut_slice_with_len<T>(&mut self, len: usize) -> &mut [T]
pub fn as_mut_slice_with_len<T>(&mut self, len: usize) -> &mut [T]
Returns a mutable slice of the vector up to a certain length
Sourcepub fn logical_type(&self) -> LogicalTypeHandle
pub fn logical_type(&self) -> LogicalTypeHandle
Returns the logical type of the vector
Trait Implementations§
Source§impl From<*mut _duckdb_vector> for FlatVector
impl From<*mut _duckdb_vector> for FlatVector
Source§fn from(ptr: duckdb_vector) -> Self
fn from(ptr: duckdb_vector) -> Self
Converts to this type from the input type.
Source§impl Inserter<&[u8]> for FlatVector
impl Inserter<&[u8]> for FlatVector
Source§impl Inserter<&str> for FlatVector
impl Inserter<&str> for FlatVector
Source§impl Inserter<CString> for FlatVector
impl Inserter<CString> for FlatVector
Auto Trait Implementations§
impl Freeze for FlatVector
impl RefUnwindSafe for FlatVector
impl !Send for FlatVector
impl !Sync for FlatVector
impl Unpin for FlatVector
impl UnwindSafe for FlatVector
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