pub struct STPoint {
pub face: Face,
pub s: f64,
pub t: f64,
pub z: Option<f64>,
pub m: Option<MValue>,
}
Expand description
A Point in S2 Space with a Face
Fields§
§face: Face
The face of the point
s: f64
The s coordinate
t: f64
The t coordinate
z: Option<f64>
The z coordinate
m: Option<MValue>
The m coordinate
Trait Implementations§
Source§impl<'de> Deserialize<'de> for STPoint
impl<'de> Deserialize<'de> for STPoint
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
impl StructuralPartialEq for STPoint
Auto Trait Implementations§
impl Freeze for STPoint
impl RefUnwindSafe for STPoint
impl Send for STPoint
impl Sync for STPoint
impl Unpin for STPoint
impl UnwindSafe for STPoint
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