pub struct WallSegment {
pub a: Vec2,
pub b: Vec2,
}Expand description
A wall segment (line) for wall-following behavior.
Fields§
§a: Vec2§b: Vec2Implementations§
Trait Implementations§
Source§impl Clone for WallSegment
impl Clone for WallSegment
Source§fn clone(&self) -> WallSegment
fn clone(&self) -> WallSegment
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 WallSegment
impl Debug for WallSegment
impl Copy for WallSegment
Auto Trait Implementations§
impl Freeze for WallSegment
impl RefUnwindSafe for WallSegment
impl Send for WallSegment
impl Sync for WallSegment
impl Unpin for WallSegment
impl UnsafeUnpin for WallSegment
impl UnwindSafe for WallSegment
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