Struct druid::piet::kurbo::ConstPoint
pub struct ConstPoint(_);
Expand description
A trivial “curve” that is just a constant.
Implementations§
Trait Implementations§
§impl Clone for ConstPoint
impl Clone for ConstPoint
§fn clone(&self) -> ConstPoint
fn clone(&self) -> ConstPoint
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Data for ConstPoint
impl Data for ConstPoint
§impl Debug for ConstPoint
impl Debug for ConstPoint
§impl ParamCurve for ConstPoint
impl ParamCurve for ConstPoint
§fn subsegment(&self, _range: Range<f64>) -> ConstPoint
fn subsegment(&self, _range: Range<f64>) -> ConstPoint
Get a subsegment of the curve for the given parameter range.
§fn subdivide(&self) -> (Self, Self)
fn subdivide(&self) -> (Self, Self)
Subdivide into (roughly) halves.
§impl ParamCurveArclen for ConstPoint
impl ParamCurveArclen for ConstPoint
§impl ParamCurveDeriv for ConstPoint
impl ParamCurveDeriv for ConstPoint
§type DerivResult = ConstPoint
type DerivResult = ConstPoint
The parametric curve obtained by taking the derivative of this one.
§fn deriv(&self) -> ConstPoint
fn deriv(&self) -> ConstPoint
The derivative of the curve. Read more
impl Copy for ConstPoint
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§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.