[−][src]Struct piet_common::kurbo::ConstPoint
A trivial "curve" that is just a constant.
Trait Implementations
impl Clone for ConstPoint[src]
fn clone(&self) -> ConstPoint[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for ConstPoint[src]
impl Debug for ConstPoint[src]
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
fn deriv(&self) -> ConstPoint[src]
fn gauss_arclen(&self, coeffs: &[(f64, f64)]) -> f64[src]
Auto Trait Implementations
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,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> RoundFrom<T> for T[src]
fn round_from(x: T) -> T[src]
impl<T, U> RoundInto<U> for T where
U: RoundFrom<T>, [src]
U: RoundFrom<T>,
fn round_into(self) -> U[src]
impl<T> Same<T> for T[src]
type Output = T
Should always be Self
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.
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>,