#[repr(C)]pub struct b2Segment {
pub point1: b2Vec2,
pub point2: b2Vec2,
}Expand description
A line segment with two-sided collision.
Fields§
§point1: b2Vec2The first point
point2: b2Vec2The second point
Trait Implementations§
Auto Trait Implementations§
impl Freeze for b2Segment
impl RefUnwindSafe for b2Segment
impl Send for b2Segment
impl Sync for b2Segment
impl Unpin for b2Segment
impl UnwindSafe for b2Segment
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)