pub struct PolynomialCurve { /* private fields */ }Implementations§
Source§impl PolynomialCurve
 
impl PolynomialCurve
Sourcepub fn builder() -> Builder<DegreeStage>
 
pub fn builder() -> Builder<DegreeStage>
Returns a new builder.
Source§impl PolynomialCurve
 
impl PolynomialCurve
Sourcepub fn new(degree: IntegerConstant) -> Self
 
pub fn new(degree: IntegerConstant) -> Self
Constructs a new instance of the type.
Sourcepub fn degree(&self) -> &IntegerConstant
 
pub fn degree(&self) -> &IntegerConstant
The highest allowable degree of the fit polynomial.
Sourcepub fn intercept(&self) -> Option<&DoubleConstant>
 
pub fn intercept(&self) -> Option<&DoubleConstant>
The y-value at the point x (or t) = 0. If omitted, the y-intercept will also be fit to the data.
Trait Implementations§
Source§impl Clone for PolynomialCurve
 
impl Clone for PolynomialCurve
Source§fn clone(&self) -> PolynomialCurve
 
fn clone(&self) -> PolynomialCurve
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 PolynomialCurve
 
impl Debug for PolynomialCurve
Source§impl<'de> Deserialize<'de> for PolynomialCurve
 
impl<'de> Deserialize<'de> for PolynomialCurve
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 From<PolynomialCurve> for Builder<Complete>
 
impl From<PolynomialCurve> for Builder<Complete>
Source§fn from(v: PolynomialCurve) -> Self
 
fn from(v: PolynomialCurve) -> Self
Converts to this type from the input type.
Source§impl Hash for PolynomialCurve
 
impl Hash for PolynomialCurve
Source§impl Ord for PolynomialCurve
 
impl Ord for PolynomialCurve
Source§impl PartialEq for PolynomialCurve
 
impl PartialEq for PolynomialCurve
Source§impl PartialOrd for PolynomialCurve
 
impl PartialOrd for PolynomialCurve
Source§impl Serialize for PolynomialCurve
 
impl Serialize for PolynomialCurve
impl Eq for PolynomialCurve
Auto Trait Implementations§
impl Freeze for PolynomialCurve
impl RefUnwindSafe for PolynomialCurve
impl Send for PolynomialCurve
impl Sync for PolynomialCurve
impl Unpin for PolynomialCurve
impl UnwindSafe for PolynomialCurve
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§impl<Q, K> Comparable<K> for Q
 
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.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>
Source§impl<T> IntoRequest<T> for T
 
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
 
fn into_request(self) -> Request<T>
Wrap the input message 
T in a tonic::Request