pub struct Point {
pub x: f32,
pub y: f32,
pub theta: Option<f32>,
pub area: Option<f32>,
}Expand description
Represents a 2D point with optional orientation and area information.
This structure describes detected features from tracking, where the point may have additional properties like orientation and area.
Fields§
§x: f32X coordinate of the point
y: f32Y coordinate of the point
theta: Option<f32>Optional orientation angle in radians
area: Option<f32>Optional area covered by the detected feature
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Point
impl<'de> Deserialize<'de> for Point
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 StructuralPartialEq for Point
Auto Trait Implementations§
impl Freeze for Point
impl RefUnwindSafe for Point
impl Send for Point
impl Sync for Point
impl Unpin for Point
impl UnwindSafe for Point
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