#[repr(C, align(16))]pub struct Triangle {
pub origin: F32Vector4,
pub edge1: F32Vector4,
pub edge2: F32Vector4,
}Fields§
§origin: F32Vector4The first vertex of the triangle.
edge1: F32Vector4The vector from the origin to the second vertex.
edge2: F32Vector4The vector from the origin to the third vertex.
Trait Implementations§
impl Copy for Triangle
impl StructuralPartialEq for Triangle
Auto Trait Implementations§
impl Freeze for Triangle
impl RefUnwindSafe for Triangle
impl Send for Triangle
impl Sync for Triangle
impl Unpin for Triangle
impl UnwindSafe for Triangle
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