Enum yz_curvep_exs::SelectExample
source · pub enum SelectExample {
Show 18 variants
AstroidPedal {
a: f64,
},
CassiniOval {
a: f64,
c: f64,
},
CassiniAstroid {
ca: f64,
cc: f64,
aa: f64,
},
CassiniAntiAstroid {
ca: f64,
cc: f64,
aa: f64,
},
CassiniAstroidTsq {
ca: f64,
cc: f64,
aa: f64,
},
Dumbbell {
a: f64,
p: f64,
},
LineHandled {
a: f64,
},
Ellipse {
a: f64,
b: f64,
},
Lemniskate {
a: f64,
},
CirclePow {
k: f64,
},
CircleSinChain1 {
w: f64,
},
Spiral {
k: u32,
},
Spiral1D {
k: u32,
},
SingularPetalRose {
k: u32,
},
Circle,
Square,
Intersect8,
Intersect8pp,
}
Variants§
AstroidPedal
CassiniOval
CassiniAstroid
CassiniAntiAstroid
CassiniAstroidTsq
Dumbbell
LineHandled
Ellipse
Lemniskate
CirclePow
CircleSinChain1
Spiral
Spiral1D
SingularPetalRose
Circle
Square
Intersect8
Intersect8pp
Implementations§
source§impl SelectExample
impl SelectExample
pub fn add_offset(&mut self, l: f64)
pub fn instantiate(self) -> Box<dyn Fn(f64) -> [f64; 2]>
Trait Implementations§
source§impl Clone for SelectExample
impl Clone for SelectExample
source§fn clone(&self) -> SelectExample
fn clone(&self) -> SelectExample
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 SelectExample
impl Debug for SelectExample
source§impl PartialEq for SelectExample
impl PartialEq for SelectExample
source§fn eq(&self, other: &SelectExample) -> bool
fn eq(&self, other: &SelectExample) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SelectExample
impl PartialOrd for SelectExample
source§fn partial_cmp(&self, other: &SelectExample) -> Option<Ordering>
fn partial_cmp(&self, other: &SelectExample) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for SelectExample
impl StructuralPartialEq for SelectExample
Auto Trait Implementations§
impl RefUnwindSafe for SelectExample
impl Send for SelectExample
impl Sync for SelectExample
impl Unpin for SelectExample
impl UnwindSafe for SelectExample
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