Struct google_vision1::api::NormalizedVertex
source · pub struct NormalizedVertex {
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.
Trait Implementations§
source§impl Clone for NormalizedVertex
impl Clone for NormalizedVertex
source§fn clone(&self) -> NormalizedVertex
fn clone(&self) -> NormalizedVertex
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 NormalizedVertex
impl Debug for NormalizedVertex
source§impl Default for NormalizedVertex
impl Default for NormalizedVertex
source§fn default() -> NormalizedVertex
fn default() -> NormalizedVertex
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NormalizedVertex
impl<'de> Deserialize<'de> for NormalizedVertex
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
source§impl Serialize for NormalizedVertex
impl Serialize for NormalizedVertex
impl Part for NormalizedVertex
Auto Trait Implementations§
impl RefUnwindSafe for NormalizedVertex
impl Send for NormalizedVertex
impl Sync for NormalizedVertex
impl Unpin for NormalizedVertex
impl UnwindSafe for NormalizedVertex
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