pub struct Vertex {
pub x: Option<i32>,
pub y: Option<i32>,
}Expand description
A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.
This type is not used in any activity, and only used as part of another schema.
Fields§
§x: Option<i32>X coordinate.
y: Option<i32>Y coordinate.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Vertex
impl<'de> Deserialize<'de> for Vertex
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 Vertex
Auto Trait Implementations§
impl Freeze for Vertex
impl RefUnwindSafe for Vertex
impl Send for Vertex
impl Sync for Vertex
impl Unpin for Vertex
impl UnwindSafe for Vertex
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