[][src]Struct rusoto_rekognition::Landmark

pub struct Landmark {
    pub type_: Option<String>,
    pub x: Option<f32>,
    pub y: Option<f32>,
}

Indicates the location of the landmark on the face.

Fields

type_: Option<String>

Type of landmark.

x: Option<f32>

The x-coordinate from the top left of the landmark expressed as the ratio of the width of the image. For example, if the image is 700 x 200 and the x-coordinate of the landmark is at 350 pixels, this value is 0.5.

y: Option<f32>

The y-coordinate from the top left of the landmark expressed as the ratio of the height of the image. For example, if the image is 700 x 200 and the y-coordinate of the landmark is at 100 pixels, this value is 0.5.

Trait Implementations

impl Clone for Landmark[src]

impl Debug for Landmark[src]

impl Default for Landmark[src]

impl<'de> Deserialize<'de> for Landmark[src]

impl PartialEq<Landmark> for Landmark[src]

impl StructuralPartialEq for Landmark[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.