pub struct ConstPoint(/* private fields */);
Expand description
A trivial “curve” that is just a constant.
Implementations§
Trait Implementations§
source§impl Clone for ConstPoint
impl Clone for ConstPoint
source§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 Debug for ConstPoint
impl Debug for ConstPoint
source§impl ParamCurve for ConstPoint
impl ParamCurve for ConstPoint
source§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.
source§impl ParamCurveArclen for ConstPoint
impl ParamCurveArclen for ConstPoint
source§impl ParamCurveDeriv for ConstPoint
impl ParamCurveDeriv for ConstPoint
source§type DerivResult = ConstPoint
type DerivResult = ConstPoint
The parametric curve obtained by taking the derivative of this one.
source§fn deriv(&self) -> ConstPoint
fn deriv(&self) -> ConstPoint
The derivative of the curve. Read more
impl Copy for ConstPoint
Auto Trait Implementations§
impl Freeze for ConstPoint
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> 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)