pub struct GenericBinaryType<O: OffsetSizeTrait> { /* private fields */ }
Expand description
ByteArrayType
for binary arrays
Trait Implementations§
Source§impl<O: OffsetSizeTrait> ByteArrayType for GenericBinaryType<O>
impl<O: OffsetSizeTrait> ByteArrayType for GenericBinaryType<O>
Source§type Native = [u8]
type Native = [u8]
Type for representing its equivalent rust type i.e
Utf8Array will have native type has &str
BinaryArray will have type as u8
Source§fn validate(
offsets: &OffsetBuffer<Self::Offset>,
values: &Buffer,
) -> Result<(), ArrowError>
fn validate( offsets: &OffsetBuffer<Self::Offset>, values: &Buffer, ) -> Result<(), ArrowError>
Verifies that every consecutive pair of
offsets
denotes a valid slice of values
Auto Trait Implementations§
impl<O> Freeze for GenericBinaryType<O>
impl<O> RefUnwindSafe for GenericBinaryType<O>where
O: RefUnwindSafe,
impl<O> Send for GenericBinaryType<O>
impl<O> Sync for GenericBinaryType<O>
impl<O> Unpin for GenericBinaryType<O>where
O: Unpin,
impl<O> UnwindSafe for GenericBinaryType<O>where
O: UnwindSafe,
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