Struct aws_sdk_textract::types::builders::GeometryBuilder
source · #[non_exhaustive]pub struct GeometryBuilder { /* private fields */ }Expand description
A builder for Geometry.
Implementations§
source§impl GeometryBuilder
impl GeometryBuilder
sourcepub fn bounding_box(self, input: BoundingBox) -> Self
pub fn bounding_box(self, input: BoundingBox) -> Self
An axis-aligned coarse representation of the location of the recognized item on the document page.
sourcepub fn set_bounding_box(self, input: Option<BoundingBox>) -> Self
pub fn set_bounding_box(self, input: Option<BoundingBox>) -> Self
An axis-aligned coarse representation of the location of the recognized item on the document page.
sourcepub fn polygon(self, input: Point) -> Self
pub fn polygon(self, input: Point) -> Self
Appends an item to polygon.
To override the contents of this collection use set_polygon.
Within the bounding box, a fine-grained polygon around the recognized item.
sourcepub fn set_polygon(self, input: Option<Vec<Point>>) -> Self
pub fn set_polygon(self, input: Option<Vec<Point>>) -> Self
Within the bounding box, a fine-grained polygon around the recognized item.
Trait Implementations§
source§impl Clone for GeometryBuilder
impl Clone for GeometryBuilder
source§fn clone(&self) -> GeometryBuilder
fn clone(&self) -> GeometryBuilder
Returns a copy 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 moresource§impl Debug for GeometryBuilder
impl Debug for GeometryBuilder
source§impl Default for GeometryBuilder
impl Default for GeometryBuilder
source§fn default() -> GeometryBuilder
fn default() -> GeometryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<GeometryBuilder> for GeometryBuilder
impl PartialEq<GeometryBuilder> for GeometryBuilder
source§fn eq(&self, other: &GeometryBuilder) -> bool
fn eq(&self, other: &GeometryBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.