pub struct GoogleCloudDocumentaiV1beta2NormalizedVertex {
pub x: Option<f32>,
pub y: Option<f32>,
}Expand description
A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.
This type is not used in any activity, and only used as part of another schema.
Fields§
§x: Option<f32>X coordinate.
y: Option<f32>Y coordinate (starts from the top of the image).
Trait Implementations§
Source§impl Clone for GoogleCloudDocumentaiV1beta2NormalizedVertex
impl Clone for GoogleCloudDocumentaiV1beta2NormalizedVertex
Source§fn clone(&self) -> GoogleCloudDocumentaiV1beta2NormalizedVertex
fn clone(&self) -> GoogleCloudDocumentaiV1beta2NormalizedVertex
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 moreSource§impl Default for GoogleCloudDocumentaiV1beta2NormalizedVertex
impl Default for GoogleCloudDocumentaiV1beta2NormalizedVertex
Source§fn default() -> GoogleCloudDocumentaiV1beta2NormalizedVertex
fn default() -> GoogleCloudDocumentaiV1beta2NormalizedVertex
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1beta2NormalizedVertex
impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1beta2NormalizedVertex
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for GoogleCloudDocumentaiV1beta2NormalizedVertex
Auto Trait Implementations§
impl Freeze for GoogleCloudDocumentaiV1beta2NormalizedVertex
impl RefUnwindSafe for GoogleCloudDocumentaiV1beta2NormalizedVertex
impl Send for GoogleCloudDocumentaiV1beta2NormalizedVertex
impl Sync for GoogleCloudDocumentaiV1beta2NormalizedVertex
impl Unpin for GoogleCloudDocumentaiV1beta2NormalizedVertex
impl UnwindSafe for GoogleCloudDocumentaiV1beta2NormalizedVertex
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