pub struct StlTriangle {
pub normal: [f32; 3],
pub corners: [[f32; 3]; 3],
}Expand description
One STL facet: its outward normal, and its corners counter-clockwise seen from outside.
Fields§
§normal: [f32; 3]§corners: [[f32; 3]; 3]Trait Implementations§
Source§impl Clone for StlTriangle
impl Clone for StlTriangle
Source§fn clone(&self) -> StlTriangle
fn clone(&self) -> StlTriangle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StlTriangle
Source§impl Debug for StlTriangle
impl Debug for StlTriangle
Source§impl PartialEq for StlTriangle
impl PartialEq for StlTriangle
Source§fn eq(&self, other: &StlTriangle) -> bool
fn eq(&self, other: &StlTriangle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StlTriangle
Auto Trait Implementations§
impl Freeze for StlTriangle
impl RefUnwindSafe for StlTriangle
impl Send for StlTriangle
impl Sync for StlTriangle
impl Unpin for StlTriangle
impl UnsafeUnpin for StlTriangle
impl UnwindSafe for StlTriangle
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