Struct shape_core::Line3D
source · #[repr(C)]pub struct Line3D<T> {
pub s: Point3D<T>,
pub e: Point3D<T>,
}
Expand description
A lines segment of finite length in 3D space, determined by a starting points and an ending points
Fields§
§s: Point3D<T>
Start points of the lines segment in 3D space.
e: Point3D<T>
End points of the lines segment in 3D space.
Implementations§
Trait Implementations§
source§impl<'de, T> Deserialize<'de> for Line3D<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Line3D<T>where T: Deserialize<'de>,
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<T: PartialEq> PartialEq for Line3D<T>
impl<T: PartialEq> PartialEq for Line3D<T>
impl<T: Copy> Copy for Line3D<T>
impl<T: Eq> Eq for Line3D<T>
impl<T> StructuralEq for Line3D<T>
impl<T> StructuralPartialEq for Line3D<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Line3D<T>where T: RefUnwindSafe,
impl<T> Send for Line3D<T>where T: Send,
impl<T> Sync for Line3D<T>where T: Sync,
impl<T> Unpin for Line3D<T>where T: Unpin,
impl<T> UnwindSafe for Line3D<T>where T: UnwindSafe,
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