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 get_bounding_box(&self) -> &Option<BoundingBox>
pub fn get_bounding_box(&self) -> &Option<BoundingBox>
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.
sourcepub fn get_polygon(&self) -> &Option<Vec<Point>>
pub fn get_polygon(&self) -> &Option<Vec<Point>>
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 for GeometryBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for GeometryBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GeometryBuilder
impl Send for GeometryBuilder
impl Sync for GeometryBuilder
impl Unpin for GeometryBuilder
impl UnwindSafe for GeometryBuilder
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.