pub struct WallLine {
pub point: Point2,
pub inward: Point2,
}Expand description
A planar wall of a floor as a line in machine XY: a point on it and the unit normal pointing into the floor (away from the wall’s material).
Fields§
§point: Point2§inward: Point2Trait Implementations§
impl Copy for WallLine
Source§impl<'de> Deserialize<'de> for WallLine
impl<'de> Deserialize<'de> for WallLine
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 WallLine
Auto Trait Implementations§
impl Forget for WallLine
impl Freeze for WallLine
impl Move for WallLine
impl RefUnwindSafe for WallLine
impl Send for WallLine
impl Sync for WallLine
impl Unpin for WallLine
impl UnsafeUnpin for WallLine
impl UnwindSafe for WallLine
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