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