pub struct ExactCoords {
pub x: Span,
pub y: Span,
pub z: Span,
pub w: Weight,
}Expand description
The exact coordinates of a point, in homogeneous form: the point is
(x / w, y / w, z / w). The spans belong to the arena given to
Point::exact, and each holds a valid expansion (see expansion);
the predicates that read them do not check it.
Fields§
§x: SpanThe numerator of the first coordinate.
y: SpanThe numerator of the second coordinate.
z: SpanThe numerator of the third coordinate.
w: WeightThe common denominator.
Trait Implementations§
Source§impl Clone for ExactCoords
impl Clone for ExactCoords
Source§fn clone(&self) -> ExactCoords
fn clone(&self) -> ExactCoords
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 ExactCoords
Source§impl Debug for ExactCoords
impl Debug for ExactCoords
impl Eq for ExactCoords
Source§impl PartialEq for ExactCoords
impl PartialEq for ExactCoords
impl StructuralPartialEq for ExactCoords
Auto Trait Implementations§
impl Forget for ExactCoords
impl Freeze for ExactCoords
impl Move for ExactCoords
impl RefUnwindSafe for ExactCoords
impl Send for ExactCoords
impl Sync for ExactCoords
impl Unpin for ExactCoords
impl UnsafeUnpin for ExactCoords
impl UnwindSafe for ExactCoords
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