pub struct FloorPosition {
pub x: f64,
pub y: f64,
}Expand description
2D position on a floor plan (for spatial queries and rendering).
Fields§
§x: f64X coordinate on the floor plan.
y: f64Y coordinate on the floor plan.
Trait Implementations§
Source§impl Clone for FloorPosition
impl Clone for FloorPosition
Source§fn clone(&self) -> FloorPosition
fn clone(&self) -> FloorPosition
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 Debug for FloorPosition
impl Debug for FloorPosition
Source§impl<'de> Deserialize<'de> for FloorPosition
impl<'de> Deserialize<'de> for FloorPosition
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 PartialEq for FloorPosition
impl PartialEq for FloorPosition
Source§impl Serialize for FloorPosition
impl Serialize for FloorPosition
impl Copy for FloorPosition
impl StructuralPartialEq for FloorPosition
Auto Trait Implementations§
impl Freeze for FloorPosition
impl RefUnwindSafe for FloorPosition
impl Send for FloorPosition
impl Sync for FloorPosition
impl Unpin for FloorPosition
impl UnsafeUnpin for FloorPosition
impl UnwindSafe for FloorPosition
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