pub struct GeometryView { /* private fields */ }Implementations§
Source§impl GeometryView
impl GeometryView
pub fn len(&self) -> usize
Sourcepub fn is_null_iter(&self) -> GeometryNullsIter<'_>
pub fn is_null_iter(&self) -> GeometryNullsIter<'_>
A iterator only decide if the value at some row index is NULL or not.
Sourcepub fn to_nulls_vec(&self) -> Vec<bool>
pub fn to_nulls_vec(&self) -> Vec<bool>
Build a nulls vector.
Sourcepub fn is_null(&self, row: usize) -> bool
pub fn is_null(&self, row: usize) -> bool
Check if the value at row index is NULL or not.
Returns null when row index out of bound.
pub unsafe fn get_length_unchecked(&self, row: usize) -> Option<usize>
pub fn lengths(&self) -> Vec<Option<usize>>
pub fn max_length(&self) -> usize
pub fn iter(&self) -> GeometryIter<'_>
pub fn to_vec(&self) -> Vec<Option<Vec<u8>>>
pub fn from_iter<S: AsRef<[u8]>, T: Into<Option<S>>, I: ExactSizeIterator<Item = T>, V: IntoIterator<Item = T, IntoIter = I>>( iter: V, ) -> Self
Trait Implementations§
Source§impl Clone for GeometryView
impl Clone for GeometryView
Source§fn clone(&self) -> GeometryView
fn clone(&self) -> GeometryView
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Freeze for GeometryView
impl RefUnwindSafe for GeometryView
impl Send for GeometryView
impl Sync for GeometryView
impl Unpin for GeometryView
impl UnwindSafe for GeometryView
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more