#[repr(C)]pub struct Trapezoid {
pub xs: [f32; 2],
pub ys: [f32; 4],
}
Expand description
A trapezoid in 2-dimensional Euclidian space.
Fields§
§xs: [f32; 2]
§ys: [f32; 4]
Trait Implementations§
impl Copy for Trapezoid
impl StructuralPartialEq for Trapezoid
Auto Trait Implementations§
impl Freeze for Trapezoid
impl RefUnwindSafe for Trapezoid
impl Send for Trapezoid
impl Sync for Trapezoid
impl Unpin for Trapezoid
impl UnwindSafe for Trapezoid
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