Enum bezier_rs::SubpathTValue
source · pub enum SubpathTValue {
Parametric {
segment_index: usize,
t: f64,
},
GlobalParametric(f64),
Euclidean {
segment_index: usize,
t: f64,
},
GlobalEuclidean(f64),
EuclideanWithinError {
segment_index: usize,
t: f64,
error: f64,
},
GlobalEuclideanWithinError {
t: f64,
error: f64,
},
}
Variants§
Parametric
GlobalParametric(f64)
Euclidean
GlobalEuclidean(f64)
EuclideanWithinError
GlobalEuclideanWithinError
Trait Implementations§
source§impl Clone for SubpathTValue
impl Clone for SubpathTValue
source§fn clone(&self) -> SubpathTValue
fn clone(&self) -> SubpathTValue
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 PartialEq<SubpathTValue> for SubpathTValue
impl PartialEq<SubpathTValue> for SubpathTValue
source§fn eq(&self, other: &SubpathTValue) -> bool
fn eq(&self, other: &SubpathTValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.