pub struct GeometryArrayBuilder<O: OffsetSizeTrait> { /* private fields */ }Implementations§
Source§impl<O: OffsetSizeTrait> GeometryArrayBuilder<O>
impl<O: OffsetSizeTrait> GeometryArrayBuilder<O>
pub fn new(dialect: WkbDialect, capacity: usize) -> Self
pub fn append_wkb(&mut self, wkb: Option<&[u8]>) -> DFResult<()>
pub fn append_geo_geometry(&mut self, geom: &Option<Geometry>) -> DFResult<()>
pub fn append_null(&mut self)
pub fn build(self) -> GenericByteArray<GenericBinaryType<O>>
Trait Implementations§
Source§impl<O: OffsetSizeTrait> From<&[Option<Geometry>]> for GeometryArrayBuilder<O>
impl<O: OffsetSizeTrait> From<&[Option<Geometry>]> for GeometryArrayBuilder<O>
Source§impl<O: OffsetSizeTrait> From<&[Option<GeometryCollection>]> for GeometryArrayBuilder<O>
impl<O: OffsetSizeTrait> From<&[Option<GeometryCollection>]> for GeometryArrayBuilder<O>
Source§fn from(value: &[Option<GeometryCollection>]) -> Self
fn from(value: &[Option<GeometryCollection>]) -> Self
Converts to this type from the input type.
Source§impl<O: OffsetSizeTrait> From<&[Option<LineString>]> for GeometryArrayBuilder<O>
impl<O: OffsetSizeTrait> From<&[Option<LineString>]> for GeometryArrayBuilder<O>
Source§fn from(value: &[Option<LineString>]) -> Self
fn from(value: &[Option<LineString>]) -> Self
Converts to this type from the input type.
Source§impl<O: OffsetSizeTrait> From<&[Option<MultiLineString>]> for GeometryArrayBuilder<O>
impl<O: OffsetSizeTrait> From<&[Option<MultiLineString>]> for GeometryArrayBuilder<O>
Source§fn from(value: &[Option<MultiLineString>]) -> Self
fn from(value: &[Option<MultiLineString>]) -> Self
Converts to this type from the input type.
Source§impl<O: OffsetSizeTrait> From<&[Option<MultiPoint>]> for GeometryArrayBuilder<O>
impl<O: OffsetSizeTrait> From<&[Option<MultiPoint>]> for GeometryArrayBuilder<O>
Source§fn from(value: &[Option<MultiPoint>]) -> Self
fn from(value: &[Option<MultiPoint>]) -> Self
Converts to this type from the input type.
Source§impl<O: OffsetSizeTrait> From<&[Option<MultiPolygon>]> for GeometryArrayBuilder<O>
impl<O: OffsetSizeTrait> From<&[Option<MultiPolygon>]> for GeometryArrayBuilder<O>
Source§fn from(value: &[Option<MultiPolygon>]) -> Self
fn from(value: &[Option<MultiPolygon>]) -> Self
Converts to this type from the input type.
Source§impl<O: OffsetSizeTrait> From<&[Option<Point>]> for GeometryArrayBuilder<O>
impl<O: OffsetSizeTrait> From<&[Option<Point>]> for GeometryArrayBuilder<O>
Auto Trait Implementations§
impl<O> Freeze for GeometryArrayBuilder<O>
impl<O> RefUnwindSafe for GeometryArrayBuilder<O>where
O: RefUnwindSafe,
impl<O> Send for GeometryArrayBuilder<O>
impl<O> Sync for GeometryArrayBuilder<O>
impl<O> Unpin for GeometryArrayBuilder<O>where
O: Unpin,
impl<O> UnwindSafe for GeometryArrayBuilder<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
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