pub enum AnyPoint {
Explicit(Explicit),
Lnc(Lnc),
}Expand description
A point of any of the types of this module.
Variants§
Trait Implementations§
impl Copy for AnyPoint
Source§impl Point for AnyPoint
impl Point for AnyPoint
Source§fn is_explicit(&self) -> bool
fn is_explicit(&self) -> bool
Whether the point is explicit. It may return
true only if
approx holds the exact coordinates, every
err is zero and exact gives
Weight::One; returning false is always allowed. A wrong true
makes the predicates return wrong signs, unchecked.Source§fn exact(&self, scratch: &mut Scratch<'_>) -> Result<ExactCoords, ExactError>
fn exact(&self, scratch: &mut Scratch<'_>) -> Result<ExactCoords, ExactError>
impl StructuralPartialEq for AnyPoint
Auto Trait Implementations§
impl Forget for AnyPoint
impl Freeze for AnyPoint
impl Move for AnyPoint
impl RefUnwindSafe for AnyPoint
impl Send for AnyPoint
impl Sync for AnyPoint
impl Unpin for AnyPoint
impl UnsafeUnpin for AnyPoint
impl UnwindSafe for AnyPoint
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