pub struct PlaneSurface {
pub origin: Vec3,
pub normal: Vec3,
}Expand description
A plane represented by a point and unit normal.
Fields§
§origin: Vec3A point on the plane.
normal: Vec3The plane’s unit normal.
Trait Implementations§
Source§impl Clone for PlaneSurface
impl Clone for PlaneSurface
Source§fn clone(&self) -> PlaneSurface
fn clone(&self) -> PlaneSurface
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 PlaneSurface
Source§impl Debug for PlaneSurface
impl Debug for PlaneSurface
Source§impl<'de> Deserialize<'de> for PlaneSurface
impl<'de> Deserialize<'de> for PlaneSurface
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
Source§impl PartialEq for PlaneSurface
impl PartialEq for PlaneSurface
Source§impl Serialize for PlaneSurface
impl Serialize for PlaneSurface
impl StructuralPartialEq for PlaneSurface
Auto Trait Implementations§
impl Freeze for PlaneSurface
impl RefUnwindSafe for PlaneSurface
impl Send for PlaneSurface
impl Sync for PlaneSurface
impl Unpin for PlaneSurface
impl UnsafeUnpin for PlaneSurface
impl UnwindSafe for PlaneSurface
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