Struct kurbo::ConstPoint [−][src]
A trivial “curve” that is just a constant.
Implementations
impl ConstPoint
[src]
pub fn is_finite(self) -> bool
[src]
Is this point finite?
pub fn is_nan(self) -> bool
[src]
Is this point NaN?
Trait Implementations
impl Clone for ConstPoint
[src]
fn clone(&self) -> ConstPoint
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ConstPoint
[src]
impl Debug for ConstPoint
[src]
impl<'de> Deserialize<'de> for ConstPoint
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl ParamCurve for ConstPoint
[src]
fn eval(&self, _t: f64) -> Point
[src]
fn subsegment(&self, _range: Range<f64>) -> ConstPoint
[src]
fn subdivide(&self) -> (Self, Self)
[src]
fn start(&self) -> Point
[src]
fn end(&self) -> Point
[src]
impl ParamCurveArclen for ConstPoint
[src]
fn arclen(&self, _accuracy: f64) -> f64
[src]
fn inv_arclen(&self, arclen: f64, accuracy: f64) -> f64
[src]
impl ParamCurveDeriv for ConstPoint
[src]
type DerivResult = ConstPoint
The parametric curve obtained by taking the derivative of this one.
fn deriv(&self) -> ConstPoint
[src]
fn gauss_arclen(&self, coeffs: &[(f64, f64)]) -> f64
[src]
impl Serialize for ConstPoint
[src]
Auto Trait Implementations
impl RefUnwindSafe for ConstPoint
impl Send for ConstPoint
impl Sync for ConstPoint
impl Unpin for ConstPoint
impl UnwindSafe for ConstPoint
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,