pub struct RectanglePrimitive {
pub corners: Vec<Vector3>,
pub normal: Vector3,
}Expand description
Rectangle approximating a planar patch
Fields§
§corners: Vec<Vector3>The four corners of the rectangle, counterclockwise around normal
normal: Vector3Outward normal of the patch
Trait Implementations§
Source§impl Clone for RectanglePrimitive
impl Clone for RectanglePrimitive
Source§impl Debug for RectanglePrimitive
impl Debug for RectanglePrimitive
Source§impl<'de> Deserialize<'de> for RectanglePrimitive
impl<'de> Deserialize<'de> for RectanglePrimitive
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for RectanglePrimitive
impl Freeze for RectanglePrimitive
impl RefUnwindSafe for RectanglePrimitive
impl Send for RectanglePrimitive
impl Sync for RectanglePrimitive
impl Unpin for RectanglePrimitive
impl UnsafeUnpin for RectanglePrimitive
impl UnwindSafe for RectanglePrimitive
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