Struct truck_geometry::specifieds::UnitHyperbola
source · pub struct UnitHyperbola<P>(_);
Expand description
unit hyperbola
Implementations§
source§impl<P> UnitHyperbola<P>
impl<P> UnitHyperbola<P>
sourcepub const fn new() -> UnitHyperbola<P>
pub const fn new() -> UnitHyperbola<P>
constructor
Examples found in repository?
src/specifieds/hyperbola.rs (line 77)
71 72 73 74 75 76 77 78 79 80 81 82
fn search_nearest_parameter<H: Into<SPHint1D>>(
&self,
p: Point3,
_: H,
_trials: usize,
) -> Option<f64> {
UnitHyperbola::<Point2>::new().search_nearest_parameter(
Point2::new(p.x, p.y),
None,
_trials,
)
}
Trait Implementations§
source§impl<P: Clone> Clone for UnitHyperbola<P>
impl<P: Clone> Clone for UnitHyperbola<P>
source§fn clone(&self) -> UnitHyperbola<P>
fn clone(&self) -> UnitHyperbola<P>
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<P: Debug> Debug for UnitHyperbola<P>
impl<P: Debug> Debug for UnitHyperbola<P>
source§impl<P: Default> Default for UnitHyperbola<P>
impl<P: Default> Default for UnitHyperbola<P>
source§fn default() -> UnitHyperbola<P>
fn default() -> UnitHyperbola<P>
Returns the “default value” for a type. Read more
source§impl<'de, P> Deserialize<'de> for UnitHyperbola<P>
impl<'de, P> Deserialize<'de> for UnitHyperbola<P>
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