pub struct ConstPoint(Point);Expand description
A trivial “curve” that is just a constant.
Tuple Fields§
§0: PointImplementations§
Trait Implementations§
Source§impl Clone for ConstPoint
 
impl Clone for ConstPoint
Source§fn clone(&self) -> ConstPoint
 
fn clone(&self) -> ConstPoint
Returns a duplicate 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<'de> Deserialize<'de> for ConstPoint
 
impl<'de> Deserialize<'de> for ConstPoint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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
Source§impl Serialize for ConstPoint
 
impl Serialize for ConstPoint
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